mirror of https://github.com/nodejs/node.git
19 lines
479 B
Groff
19 lines
479 B
Groff
.TH "NPM\-UPDATE" "3" "February 2015" "" ""
|
|
.SH "NAME"
|
|
\fBnpm-update\fR \- Update a package
|
|
.SH SYNOPSIS
|
|
.P
|
|
.RS 2
|
|
.nf
|
|
npm\.commands\.update(packages, callback)
|
|
.fi
|
|
.RE
|
|
.TH "DESCRIPTION" "" "February 2015" "" ""
|
|
.SH "NAME"
|
|
\fBDESCRIPTION\fR
|
|
.P
|
|
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\.
|
|
|