JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17667
  • Score
    100M100P100Q132939F
  • License MIT

A dependency inspection tool.

Package Exports

  • inspectdep

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inspectdep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

inspectdep 🔎

npm version Travis Status AppVeyor Status Coverage Status

An inspection tool for dependencies in node_modules.

API

findProdInstalls({ rootPath })

Find on-disk locations of all production dependencies in node_modules.

Notes:

  • This includes all dependencies and optionalDependencies, simulating what would happen during a yarn|npm install --production.
  • Paths are relative to rootPath and separated with path.sep native OS separators
  • If dependencies are not found installed on-disk they are simply ignored. #2

Parameters:

  • rootPath (string): node_modules root location (default: process.cwd())

Returns:

  • (Promise<Array<String>>): list of relative paths to on-disk dependencies