Skip to content

Type Alias: NpmRegistryOptions

NpmRegistryOptions = object

Inputs that control active npm registry discovery.

optional envVars?: boolean

Read npm_config_registry, NPM_CONFIG_REGISTRY, and BUN_CONFIG_REGISTRY first. Defaults to true so the same cascade a package manager uses is the default.


optional overrideOnly?: boolean

Skip public npmjs.org so callers can detect a configured override.