Home / Function/ entries() — astro Function Reference

entries() — astro Function Reference

Architecture documentation for the entries() function in runtime.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  02110af4_6f1f_4e17_2fc7_b852043746bd["entries()"]
  91969197_292d_3b15_21c6_0e876968e961["AstroSession"]
  02110af4_6f1f_4e17_2fc7_b852043746bd -->|defined in| 91969197_292d_3b15_21c6_0e876968e961
  style 02110af4_6f1f_4e17_2fc7_b852043746bd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/session/runtime.ts lines 147–149

	async entries() {
		return [...(await this.#ensureData()).entries()].map(([key, entry]) => [key, entry.data]);
	}

Domain

Subdomains

Frequently Asked Questions

What does entries() do?
entries() is a function in the astro codebase, defined in packages/astro/src/core/session/runtime.ts.
Where is entries() defined?
entries() is defined in packages/astro/src/core/session/runtime.ts at line 147.

Analyze Your Own Codebase

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

Try Supermodel Free