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

19 lines
479 B
Groff
Raw Normal View History

.TH "NPM\-UPDATE" "3" "February 2015" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-update\fR \- Update a package
.SH SYNOPSIS
.P
.RS 2
2014-11-05 07:08:12 +08:00
.nf
npm\.commands\.update(packages, callback)
2014-11-05 07:08:12 +08:00
.fi
2014-09-25 05:41:07 +08:00
.RE
.TH "DESCRIPTION" "" "February 2015" "" ""
2014-09-25 05:41:07 +08:00
.SH "NAME"
\fBDESCRIPTION\fR
.P
Updates a package, upgrading it to the latest version\. It also installs any missing packages\.
.P
2014-09-25 05:41:07 +08:00
The 'packages' argument is an array of packages to update\. The 'callback' parameter will be called when done or when an error occurs\.