glob.json.js — astro Source File
Architecture documentation for glob.json.js, a javascript file in the astro codebase.
Entity Profile
Relationship Graph
Source Code
export async function GET() {
const docs = await import.meta.glob('./*.md', { eager: true });
return Response.json(Object.values(docs).map((doc) => doc.frontmatter));
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does glob.json.js do?
glob.json.js is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain, SsrAdapters subdomain.
What functions are defined in glob.json.js?
glob.json.js defines 1 function(s): GET.
Where is glob.json.js in the architecture?
glob.json.js is located at packages/astro/test/fixtures/astro-markdown-frontmatter-injection/src/pages/glob.json.js (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/astro-markdown-frontmatter-injection/src/pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free