2011-11-22 01:48:45 +08:00
|
|
|
npm-update(3) -- Update a package
|
|
|
|
=================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
2015-03-06 16:57:32 +08:00
|
|
|
|
2011-11-22 01:48:45 +08:00
|
|
|
npm.commands.update(packages, callback)
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
2015-03-06 16:57:32 +08:00
|
|
|
Updates a package, upgrading it to the latest version. It also installs any
|
|
|
|
missing packages.
|
|
|
|
|
|
|
|
The `packages` argument is an array of packages to update. The `callback`
|
|
|
|
parameter will be called when done or when an error occurs.
|
|
|
|
|
|
|
|
## SEE ALSO
|
2011-11-22 01:48:45 +08:00
|
|
|
|
2015-03-06 16:57:32 +08:00
|
|
|
* npm-update(1)
|