Uninstall and remove a package from project

If a package in your project is superfluous, it can be removed as follows:

npm uninstall jade --save  // or --save-dev

If it is done as above, the package will be removed from the package.json file.