As commonly known, any npm module can be installed by running a simple command: npm install <module_name>
. 衆所周知,能夠經過運行一個簡單的命令來安裝任何npm模塊: npm install <module_name>
。 node
I have installed a few modules that I do not use anymore and I just want to get them off. 我已經安裝了一些再也不使用的模塊,我只想把它們取下來。 I have a few questions regarding this: 我對此有一些疑問: npm
Do we have any command or process to uninstall a module from the root (something like npm uninstall <module_name>
) or will simply removing the module files do? 咱們是否有任何命令或過程從根目錄卸載模塊(相似於npm uninstall <module_name>
),仍是隻是刪除模塊文件呢? this
How does it affect us if we keep the unused modules? 若是咱們保留未使用的模塊,它將對咱們有何影響? spa