Last Updated: March 28, 2016
·
322
· mansona

Search for your projects that have a particular dependancy

If you have all of your projects in one folder ( I try to keep everything in ~/git/ ) then you can run the following to see which of your projects depend on a particular npm dependency.

The dependency in question is mongoose-nconf-connect

grep -ir "mongoose-nconf-connect" --include '*package.json' . --exclude '*node_modules*'