Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

npm delete

npm ls -gp --depth=0 | awk -F/ '/node_modules/ && !//npm$/ {print $NF}' | xargs npm -g rm
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #npm #delete
ADD COMMENT
Topic
Name
7+7 =