text() — astro Function Reference
Architecture documentation for the text() function in shell.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD bd430999_8b7b_9369_2230_39cec30b9bc8["text()"] 10115483_0549_8783_e6e6_0b4589ba34bd["shell.ts"] bd430999_8b7b_9369_2230_39cec30b9bc8 -->|defined in| 10115483_0549_8783_e6e6_0b4589ba34bd 7b8ba1ba_216b_7b10_7cb6_8262d181f635["shell()"] 7b8ba1ba_216b_7b10_7cb6_8262d181f635 -->|calls| bd430999_8b7b_9369_2230_39cec30b9bc8 style bd430999_8b7b_9369_2230_39cec30b9bc8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/upgrade/src/shell.ts lines 18–19
const text = (stream: NodeJS.ReadableStream | Readable | null) =>
stream ? textFromStream(stream).then((t) => t.trimEnd()) : '';
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does text() do?
text() is a function in the astro codebase, defined in packages/upgrade/src/shell.ts.
Where is text() defined?
text() is defined in packages/upgrade/src/shell.ts at line 18.
What calls text()?
text() is called by 1 function(s): shell.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free