Home / File/ index.ts — astro Source File

index.ts — astro Source File

Architecture documentation for index.ts, a typescript file in the astro codebase.

Entity Profile

Source Code

// NOTE: Although this entrypoint is exported, it is internal API and may change at any time.

export {
	addAttribute,
	createAstro,
	createComponent,
	createTransitionScope,
	defineScriptVars,
	defineStyleVars,
	Fragment,
	maybeRenderHead,
	mergeSlots,
	render,
	renderComponent,
	renderHead,
	renderScript,
	renderSlot,
	renderTransition,
	spreadAttributes,
	unescapeHTML,
} from '../server/index.js';

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/runtime/compiler/index.ts (directory: packages/astro/src/runtime/compiler).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free