normalizeFunding() — vite Function Reference
Architecture documentation for the normalizeFunding() function in acknowledgements.data.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD f436df71_e9b7_3ffa_08cd_b9e4f8a20848["normalizeFunding()"] 217bc23a_2c54_8ca5_016d_7cb941ca23b7["acknowledgements.data.ts"] f436df71_e9b7_3ffa_08cd_b9e4f8a20848 -->|defined in| 217bc23a_2c54_8ca5_016d_7cb941ca23b7 c7fe79cf_90ff_1266_2969_1631fc185db0["readPackageInfo()"] c7fe79cf_90ff_1266_2969_1631fc185db0 -->|calls| f436df71_e9b7_3ffa_08cd_b9e4f8a20848 style f436df71_e9b7_3ffa_08cd_b9e4f8a20848 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
docs/_data/acknowledgements.data.ts lines 161–170
function normalizeFunding(funding: PackageJson['funding']): string | undefined {
if (!funding) return undefined
if (typeof funding === 'string') return funding
if (Array.isArray(funding)) {
const first = funding[0]
if (typeof first === 'string') return first
return first?.url
}
return funding.url
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does normalizeFunding() do?
normalizeFunding() is a function in the vite codebase, defined in docs/_data/acknowledgements.data.ts.
Where is normalizeFunding() defined?
normalizeFunding() is defined in docs/_data/acknowledgements.data.ts at line 161.
What calls normalizeFunding()?
normalizeFunding() is called by 1 function(s): readPackageInfo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free