index.ts — astro Source File
Architecture documentation for index.ts, a typescript file in the astro codebase.
Entity Profile
Source Code
/**
* NOTE: this is a public module exposed to the user, so all functions exposed
* here must be documented via JsDoc and in the docs website.
*
* If some functions don't need to be exposed, just import the file that contains the functions.
*/
export {
isRemoteAllowed,
matchHostname,
matchPathname,
matchPattern,
matchPort,
matchProtocol,
type RemotePattern,
} from '@astrojs/internal-helpers/remote';
export { emitClientAsset } from './assets.js';
export { isESMImportedImage, isRemoteImage, resolveSrc } from './imageKind.js';
export { imageMetadata } from './metadata.js';
export { getOrigQueryParams } from './queryParams.js';
export { inferRemoteSize } from './remoteProbe.js';
Source
Frequently Asked Questions
What does index.ts do?
index.ts is a source file in the astro codebase, written in typescript.
Where is index.ts in the architecture?
index.ts is located at packages/astro/src/assets/utils/index.ts (directory: packages/astro/src/assets/utils).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free