This uninstalls a package, completely removing everything npm installed on its behalf.
In global mode (ie, with
--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 your
--save-dev: Package will be removed from your
--save-optional: Package will be removed from your