Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/amio/yarn-why

Identifies why a package has been installed (by yarn.lock)
https://github.com/amio/yarn-why

cli npm npm-why yarn yarn-why

Last synced: 3 months ago
JSON representation

Identifies why a package has been installed (by yarn.lock)

Awesome Lists containing this project

README

        

# yarn-why [![npm-version][npm-badge]][npm-link]

Identifies why a package has been installed.

__Difference to `yarn why`__

- Full requiring path (`yarn why` only list direct dependents).
- Read from `yarn.lock` locally (no network request), blazing fast.
- Simpler output, consistent with [`npm-why`](https://www.npmjs.com/package/npm-why).

## Install & Usage

```bash
npm install -g yarn-why
```

```bash
Usage

$ yarn-why

Examples

$ yarn-why chalk
```

## Related

- [npm-why][npm-why-link] - Identifies why a package has been installed (by `package-lock.json`).
- [nls][nls-link] - Missing inspector for npm packages.

## License

MIT @ Amio

[amio-link]: https://github.com/amio
[npm-badge]: https://badgen.net/npm/v/yarn-why
[npm-link]: https://www.npmjs.com/package/yarn-why
[nls-link]: https://github.com/amio/nls
[npm-why-link]: https://github.com/amio/npm-why