mirror of https://github.com/nodejs/node.git
27 lines
532 B
Groff
27 lines
532 B
Groff
.TH "NPM\-UPDATE" "3" "March 2015" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-update\fR \- Update a package
|
|
.SH SYNOPSIS
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm\.commands\.update(packages, callback)
|
|
.fi
|
|
.RE
|
|
.TH "DESCRIPTION" "" "March 2015" "" ""
|
|
.SH "NAME"
|
|
\fBDESCRIPTION\fR
|
|
.P
|
|
Updates a package, upgrading it to the latest version\. It also installs any
|
|
missing packages\.
|
|
.P
|
|
The \fBpackages\fR argument is an array of packages to update\. The \fBcallback\fR
|
|
parameter will be called when done or when an error occurs\.
|
|
.SH SEE ALSO
|
|
.RS 0
|
|
.IP \(bu 2
|
|
npm help update
|
|
|
|
.RE
|
|
|