info() — astro Function Reference
Architecture documentation for the info() function in messages.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD b78dc053_a0be_b508_a1a0_21dbbc502692["info()"] 7e47cce3_632a_b102_4402_d13baf44fc8e["messages.ts"] b78dc053_a0be_b508_a1a0_21dbbc502692 -->|defined in| 7e47cce3_632a_b102_4402_d13baf44fc8e 325f265a_a84d_6afa_c4c9_7a8631d25cd0["log()"] b78dc053_a0be_b508_a1a0_21dbbc502692 -->|calls| 325f265a_a84d_6afa_c4c9_7a8631d25cd0 style b78dc053_a0be_b508_a1a0_21dbbc502692 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/create-astro/src/messages.ts lines 87–95
export const info = async (prefix: string, text: string) => {
await sleep(100);
if (stdout.columns < 80) {
log(`${' '.repeat(5)} ${color.cyan('◼')} ${color.cyan(prefix)}`);
log(`${' '.repeat(9)}${color.dim(text)}`);
} else {
log(`${' '.repeat(5)} ${color.cyan('◼')} ${color.cyan(prefix)} ${color.dim(text)}`);
}
};
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does info() do?
info() is a function in the astro codebase, defined in packages/create-astro/src/messages.ts.
Where is info() defined?
info() is defined in packages/create-astro/src/messages.ts at line 87.
What does info() call?
info() calls 1 function(s): log.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free