lolski lolski - 2 years ago 152
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download