lolski lolski - 6 months ago 13
Node.js Question

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.

Answer

This works pretty well too: npm list -g --depth=0

Comments