Skip to main content

npmConfigUtils

Index

Enumerations

RegistryType

RegistryType:

AUDIT_REGISTRY

AUDIT_REGISTRY: npmAuditRegistry

FETCH_REGISTRY

FETCH_REGISTRY: npmRegistryServer

PUBLISH_REGISTRY

PUBLISH_REGISTRY: npmPublishRegistry

Interfaces

MapLike

MapLike:

get

  • get(key: string): any
  • Parameters

    • key: string

    Returns any

Functions

getAuditRegistry

  • getAuditRegistry(__namedParameters: { configuration: Configuration }): string
  • Parameters

    Returns string

getAuthConfiguration

getDefaultRegistry

getPublishRegistry

getRegistryConfiguration

  • getRegistryConfiguration(registry: string, __namedParameters: { configuration: Configuration }): MapLike | null

getScopeConfiguration

  • getScopeConfiguration(scope: null | string, __namedParameters: { configuration: Configuration }): MapLike | null
  • Parameters

    • scope: null | string
    • __namedParameters: { configuration: Configuration }

    Returns MapLike | null

getScopeRegistry

normalizeRegistry

  • normalizeRegistry(registry: string): string
  • Parameters

    • registry: string

    Returns string