Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-04T03:23:55.000Z (almost 2 years ago)
- Last Synced: 2024-10-23T01:33:24.103Z (2 months ago)
- Topics: cli, list, npm, npm-package, npm-scripts, npm-why
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/nls
- Size: 1.47 MB
- Stars: 55
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
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 numberExamples
# 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