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: about 1 year ago
JSON representation
Identifies why a package has been installed (by yarn.lock)
- Host: GitHub
- URL: https://github.com/amio/yarn-why
- Owner: amio
- Created: 2018-08-21T06:12:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-11T02:48:50.000Z (almost 7 years ago)
- Last Synced: 2025-04-12T01:18:10.447Z (about 1 year ago)
- Topics: cli, npm, npm-why, yarn, yarn-why
- Language: JavaScript
- Size: 129 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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