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
For project dependencies use:
npm list --depth=0
For global dependencies use:
npm list -g --depth=0