I\'d like to find out which packages depend on express
among the installed sails/kraken/loopback/hapi/koa
etc. Are there npm
sub-comma
Adding package name after npm ls
will show you tree only with the specified package.
npm ls express
I specifically wanted to find what package used a dependency that was breaking an initial install. This may help somebody out trying todo the same:
find ./node_modules/ -name package.json | xargs grep <the_package_name>