Kevin Schaul

Visual journalist/hacker

find-which-npm-dependency-has-dependency

April 15, 2024

Wow, a lifesaver command right here:

npm ls TROUBLESOME_PACKAGE

This will output a tree showing all of the node packages in your local project that depend on TROUBLESOME_PACKAGE. Dear lord have I needed this so many times.