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 want.
转载于:https://stackoverflow.com/questions/17937960/how-to-list-npm-user-installed-packages
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 want.
转载于:https://stackoverflow.com/questions/17937960/how-to-list-npm-user-installed-packages
This works pretty well too: npm list -g --depth=0