node/deps/npm/man/man3/update.3

19 lines
479 B
Groff
Raw Normal View History

.\" Generated with Ronnjs/v0.1
.\" http://github.com/kapouer/ronnjs/
.
2012-02-09 04:36:20 +08:00
.TH "NPM\-UPDATE" "3" "February 2012" "" ""
.
.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\.