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