npm-update
updates packages to latest versions within semver range specified in package
TLDR
Update all packages
$ npm update
Update specific package$ npm update [package-name]
Update global packages$ npm update -g
Update to latest (beyond semver)$ npm update [package] --latest
Dry run update$ npm update --dry-run
SYNOPSIS
npm update [packages...] [options]
DESCRIPTION
npm update updates packages to latest versions within semver range specified in package.json. Updates package-lock.json. Use npm outdated first to see available updates.
PARAMETERS
-g, --global
Update global packages.--save
Update package.json.--dry-run
Preview updates.
SEE ALSO
npm(1), npm-outdated(1)
