Awesome Open Source
Awesome Open Source

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


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
javascript (70,419
cli (1,806
npm (444
list (376
npm-package (261
npm-scripts (17