Back to directory
amio avatar

nls

Missing inspector for npm packages.. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/amio/nls.git

58

Stars

0

Forks

1

Watchers

—

License

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
  • 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

Releases

What's Changed

chore(deps): bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot[bot] in #226 chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 by @dependabot[bot] in #232 chore(deps): bump t...

Jan 13, 2023

4.0.0

Download .zip

Bump dependencies, now requires Node.js 16.

Mar 28, 2020

Download .zip

Added nls deps to list dependencies (deps, devDeps, optionalDeps are in different color) $ nls deps

dependencies in /Users/xilo/git/nls/package.json

⁣ columnify ⁣ v1.5.4 ⁣ MIT ⁣ https://g...

Mar 11, 2020

Download .zip

Add parameter to try..catch (#104) 38201eb Bump dependencies

v3.0.0...v3.0.1