Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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