https://github.com/amio/nls
Missing inspector for npm packages.
https://github.com/amio/nls
cli list npm npm-package npm-scripts npm-why
Last synced: 9 months ago
JSON representation
Missing inspector for npm packages.
- Host: GitHub
- URL: https://github.com/amio/nls
- Owner: amio
- Created: 2017-12-30T11:08:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-02-22T11:26:25.000Z (over 1 year ago)
- Last Synced: 2025-03-30T16:12:06.790Z (about 1 year ago)
- Topics: cli, list, npm, npm-package, npm-scripts, npm-why
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/nls
- Size: 2.19 MB
- Stars: 56
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nls [![npm-version][npm-badge]][npm-link] [![install size][size-badge]][size-link]
Missing inspector for npm packages.
```bash
npm install -g nls
```
![nls-screenshot][screenshot]
## Usage
```bash
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 Print readme file from a dependency (r for short)
$ nls why 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](https://github.com/amio/yarn-why) - Identifies why a package has been installed (with `yarn.lock`)
- [npm-why](https://github.com/amio/npm-why) - Identifies why a package has been installed (with `package-lock.json`)
## License
MIT @ Amio
[screenshot]: ./nls-screenshot.png
[amio-link]: https://github.com/amio
[npm-badge]: https://badgen.net/npm/v/nls
[npm-link]: https://www.npmjs.com/package/nls
[size-badge]: https://badgen.net/packagephobia/install/nls
[size-link]: https://packagephobia.now.sh/result?p=nls