Identifies why a package has been installed. Equivalent to `yarn why` for npm packages.
JavaScript
182
168 commits
updated Sep 1, 2026
Identifies why a package has been installed.

npm install -g npm-why
Requires Node ^20.19.0 || >=22.12.0.
Usage
$ npm-why <package-name>
Examples
$ npm-why babel-core
or without installation:
$ npx npm-why babel-core
ISC @ Amio
77 commits
41 commits
27 commits
18 commits
JavaScript
100.0%
Identifies why a package has been installed. Equivalent to `yarn why` for npm packages.
JavaScript
182
168 commits
updated Sep 1, 2026
Identifies why a package has been installed.

npm install -g npm-why
Requires Node ^20.19.0 || >=22.12.0.
Usage
$ npm-why <package-name>
Examples
$ npm-why babel-core
or without installation:
$ npx npm-why babel-core
ISC @ Amio
77 commits
41 commits
27 commits
18 commits
JavaScript
100.0%