npm-rm(1) -- Remove a package
SYNOPSIS
DESCRIPTION
This uninstalls a package, completely removing everything npm installed on its behalf.
Example:
In global mode (ie, with -g or --global appended to the command),
it uninstalls the current package context as a global package.
npm uninstall takes 3 exclusive, optional flags which save or update
the package version in your main package.json:
--save: Package will be removed from yourdependencies.--save-dev: Package will be removed from yourdevDependencies.--save-optional: Package will be removed from youroptionalDependencies.
Examples: