nls

Missing inspector for npm packages.

Usage no npm install needed!

<script type="module">
  import nls from 'https://cdn.skypack.dev/nls';
</script>

README

nls npm-version install size

Missing inspector for npm packages.

npm install -g nls

nls-screenshot

Usage

nls - Missing inspector for npm packages.

Usage

  $ nls                     List available npm scripts
  $ nls deps                List dependencies table (d for short)
  $ nls view <prop-path>    Extract info from package.json (v for short)
  $ nls read <package-name> Print readme file from a dependency (r for short)
  $ nls why <package-name>  Identify why a package has been installed (w for short)

Options

  -d, --dir       Target directory
  -h, --help      Output usage information
  -v, --version   Output the version number

Examples

  # List npm scripts in current dir
  $ nls

  # List who depend upon package 'chalk'
  $ nls why chalk

  # Print value of "engines.node" from package.json
  $ nls v engines.node

Related

  • yarn-why - Identifies why a package has been installed (with yarn.lock)
  • npm-why - Identifies why a package has been installed (with package-lock.json)

License

MIT @ Amio