Multi-layer .npmrc resolution (project → user → global).
Merges configuration from multiple .npmrc files with proper precedence.
Summary
Functions
Returns which layers exist and contribute config.
Returns the ordered list of .npmrc file paths (global → user → project).
Reads and parses a single .npmrc file.
Resolves merged configuration from all .npmrc layers.
Traces where a specific config key comes from.
Functions
Returns which layers exist and contribute config.
Returns the ordered list of .npmrc file paths (global → user → project).
Reads and parses a single .npmrc file.
Resolves merged configuration from all .npmrc layers.
Project-level overrides user-level, which overrides global.
Traces where a specific config key comes from.