stringifyPlaceholderURL() — astro Function Reference
Architecture documentation for the stringifyPlaceholderURL() function in url.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8db48871_06ca_07d1_82d9_06149f1042a8["stringifyPlaceholderURL()"] 1101bfe8_d920_d605_ba35_43ac2fee7dc0["url.ts"] 8db48871_06ca_07d1_82d9_06149f1042a8 -->|defined in| 1101bfe8_d920_d605_ba35_43ac2fee7dc0 style 8db48871_06ca_07d1_82d9_06149f1042a8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/assets/utils/url.ts lines 25–27
export function stringifyPlaceholderURL(url: URL): string {
return url.href.replace(PLACEHOLDER_BASE, '');
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does stringifyPlaceholderURL() do?
stringifyPlaceholderURL() is a function in the astro codebase, defined in packages/astro/src/assets/utils/url.ts.
Where is stringifyPlaceholderURL() defined?
stringifyPlaceholderURL() is defined in packages/astro/src/assets/utils/url.ts at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free