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

19 lines
481 B
Groff
Raw Normal View History

2014-09-17 06:38:50 +08:00
.TH "NPM\-UPDATE" "3" "September 2014" "" ""
.SH "NAME"
2014-09-25 05:41:07 +08:00
\fBnpm-update\fR \- Update a package
.SH SYNOPSIS
.P
.RS 2
.EX
npm\.commands\.update(packages, callback)
2014-09-25 05:41:07 +08:00
.EE
.RE
.TH "DESCRIPTION" "" "September 2014" "" ""
.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\.