Update a package
npm update [-g] [<name> [<name> ...]]
This command will update all the packages listed to the latest version
(specified by the
It will also install missing packages.
-g flag is specified, this command will update globally installed packages.
If no package name is specified, all packages in the specified location (global or local) will be updated.