node.js - Why does npm leave a mess in my home folder? -


i noticed when install packages, globally, , dependencies put in ~/.npm , never removed after uninstalling packages dependencies no longer needed. why this? what's purpose of ~/.npm folder , how clean up?

it's cache. makes installing things quicker.

if want empty run:

npm cache clean 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -