Remove a package
npm rm <name> npm uninstall <name>
This uninstalls a package, completely removing everything npm installed on its behalf.
rm — npm@1.2.27