How do I list the user-installed package ONLY in npm? When I do npm -g list it outputs every package and their dependencies, which is not what I wa
npm
npm -g list
One way might be to find the root directory of modules using:
npm root /Users/me/repos/my_project/node_modules
And then list that directory...
ls /Users/me/repos/my_project/node_modules grunt grunt-contrib-jshint
The user-installed packages in this case are grunt and grunt-contrib-jshint