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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -