npmConfigUtils
Index
Enumerations
RegistryType
AUDIT_REGISTRY
FETCH_REGISTRY
PUBLISH_REGISTRY
Interfaces
MapLike
get
Parameters
key: string
Returns any
Functions
getAuditRegistry
Parameters
__namedParameters: { configuration: Configuration }
Returns string
getAuthConfiguration
Parameters
registry: string
__namedParameters: { configuration: Configuration; ident?: Ident }
Returns MapLike
getDefaultRegistry
Parameters
__namedParameters: { configuration: Configuration; type?: RegistryType }
Returns string
getPublishRegistry
Parameters
manifest: Manifest
__namedParameters: { configuration: Configuration }
Returns string
getRegistryConfiguration
Parameters
registry: string
__namedParameters: { configuration: Configuration }
Returns MapLike | null
getScopeConfiguration
Parameters
scope: null | string
__namedParameters: { configuration: Configuration }
Returns MapLike | null
getScopeRegistry
Parameters
scope: null | string
__namedParameters: { configuration: Configuration; type?: RegistryType }
Returns string
normalizeRegistry
Parameters
registry: string
Returns string