whprea
Last Updated: March 28, 2016
·
58
· mansona
C48408b691cd85ec7795ad2cdd0a9254

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*'
Say Thanks
Respond