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
.
npm install -g yarn-why
Usage
$ yarn-why <package>
Examples
$ yarn-why chalk
- npm-why - Identifies why a package has been installed (by
package-lock.json
). - nls - Missing inspector for npm packages.
MIT @ Amio