node.js - Does npm touch anything besides the node_modules folder when installing a package locally? -
i'm curious installing packages locally in project - not globally.
is there difference between npm uninstall some-package
, deleting some-package folder node_modules directory?
after reading that: https://npmjs.org/doc/files/npm-folders.html no. there no difference, when using local modules between npm uninstall
, deleting directory.
however, think /tmp
directory used when there additional process during installation (compilation, etc...). therefore, possible uninstall command remove files if needed (but can't see in present documentation)
my 2 cents
Comments
Post a Comment