get() — astro Function Reference
Architecture documentation for the get() function in dev-debug-info-provider.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD d2f77837_1605_f6d6_b812_6e92f2ee9974["get()"] d0aaa393_599f_6fc5_be07_51872e02dd9d["DevDebugInfoProvider"] d2f77837_1605_f6d6_b812_6e92f2ee9974 -->|defined in| d0aaa393_599f_6fc5_be07_51872e02dd9d style d2f77837_1605_f6d6_b812_6e92f2ee9974 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/cli/info/infra/dev-debug-info-provider.ts lines 36–51
async get(): Promise<DebugInfo> {
const debugInfo: DebugInfo = [
['Astro', `v${this.#astroVersionProvider.version}`],
['Node', this.#nodeVersionProvider.version],
['System', this.#operatingSystemProvider.displayName],
['Package Manager', this.#packageManager.name],
['Output', this.#config.output],
['Adapter', this.#config.adapter?.name ?? 'none'],
];
const integrations = this.#config.integrations.map((integration) => integration.name);
debugInfo.push(['Integrations', integrations.length > 0 ? integrations : 'none']);
return debugInfo;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does get() do?
get() is a function in the astro codebase, defined in packages/astro/src/cli/info/infra/dev-debug-info-provider.ts.
Where is get() defined?
get() is defined in packages/astro/src/cli/info/infra/dev-debug-info-provider.ts at line 36.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free