npm why package

Category: Node.js & npm/yarn

npm why package

Explain why a package is installed and which dependency chain required it

Explains which package in your tree depends on a given package and through what chain — answers 'why is this in my node_modules?'
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.