How do I list the user-installed / envirorment package ONLY in npm
?
When I do npm -g list
it outputs every package and their dependencies, instead I’d like to see the packages installed in the current working project or envirorment.
How do I list the user-installed / envirorment package ONLY in npm
?
When I do npm -g list
it outputs every package and their dependencies, instead I’d like to see the packages installed in the current working project or envirorment.
npm list -g --depth=0
-g
option it only shows the current directory’s packages)