2011-11-27 01:21:03 +08:00
|
|
|
.\" Generated with Ronnjs/v0.1
|
|
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
|
|
.
|
2012-02-09 04:36:20 +08:00
|
|
|
.TH "NPM\-UPDATE" "3" "February 2012" "" ""
|
2011-11-27 01:21:03 +08:00
|
|
|
.
|
|
|
|
.SH "NAME"
|
|
|
|
\fBnpm-update\fR \-\- Update a package
|
|
|
|
.
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
.
|
|
|
|
.nf
|
|
|
|
npm\.commands\.update(packages, callback)
|
|
|
|
.
|
|
|
|
.fi
|
|
|
|
Updates a package, upgrading it to the latest version\. It also installs any missing packages\.
|
|
|
|
.
|
|
|
|
.P
|
|
|
|
The \'packages\' argument is an array of packages to update\. The \'callback\' parameter will be called when done or when an error occurs\.
|