Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/amio/yarn-why
- Owner: amio
- Created: 2018-08-21T06:12:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-11T02:48:50.000Z (over 5 years ago)
- Last Synced: 2024-10-07T02:07:11.777Z (3 months ago)
- Topics: cli, npm, npm-why, yarn, yarn-why
- Language: JavaScript
- Size: 129 KB
- Stars: 3
- Watchers: 3
- 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