lolski lolski - 1 year ago 108
Node.js Question

How to list npm user-installed packages?

How do I list the user-installed package ONLY in

? 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