Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "package_update/npm"

Index

Functions

Functions

getNpmPackageJson

  • getNpmPackageJson(packageName: string, logger: LoggerApi, options?: object): Observable<Partial<NpmRepositoryPackageJson>>
  • Get the NPM repository's package.json for a package. This is p

    Parameters

    • packageName: string

      The package name to fetch.

    • logger: LoggerApi

      A logger instance to log debug information.

    • Optional options: object
      • Optional registryUrl?: string
      • Optional usingYarn?: boolean
      • Optional verbose?: boolean

    Returns Observable<Partial<NpmRepositoryPackageJson>>

    An observable that will put the pacakge.json content.