Home / File/ entry.json.js — astro Source File

entry.json.js — astro Source File

Architecture documentation for entry.json.js, a javascript file in the astro codebase. 2 imports, 0 dependents.

File javascript CoreAstro RoutingSystem 2 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e3643e1b_f4fa_69ec_237d_59d10b769619["entry.json.js"]
  48f80d01_e646_3924_78f6_a9d836644746["astro:content"]
  e3643e1b_f4fa_69ec_237d_59d10b769619 --> 48f80d01_e646_3924_78f6_a9d836644746
  ca52ff61_c81f_c2ca_81b6_5a678b65fd31["devalue"]
  e3643e1b_f4fa_69ec_237d_59d10b769619 --> ca52ff61_c81f_c2ca_81b6_5a678b65fd31
  style e3643e1b_f4fa_69ec_237d_59d10b769619 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { getEntry } from 'astro:content';
import { stringify } from 'devalue';

export async function GET() {
	const post = await getEntry('blog', 'post-1');
	return new Response(stringify(post));
}

Domain

Subdomains

Functions

Dependencies

  • astro:content
  • devalue

Frequently Asked Questions

What does entry.json.js do?
entry.json.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain, RoutingSystem subdomain.
What functions are defined in entry.json.js?
entry.json.js defines 1 function(s): GET.
What does entry.json.js depend on?
entry.json.js imports 2 module(s): astro:content, devalue.
Where is entry.json.js in the architecture?
entry.json.js is located at packages/integrations/markdoc/test/fixtures/content-collections/src/pages/entry.json.js (domain: CoreAstro, subdomain: RoutingSystem, directory: packages/integrations/markdoc/test/fixtures/content-collections/src/pages).

Analyze Your Own Codebase

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

Try Supermodel Free