mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
370 B
12 lines
370 B
13 years ago
|
npm-update(3) -- Update a package
|
||
|
=================================
|
||
|
|
||
|
## SYNOPSIS
|
||
|
npm.commands.update(packages, callback)
|
||
|
|
||
|
# DESCRIPTION
|
||
|
|
||
|
Updates a package, upgrading it to the latest version. It also installs any missing packages.
|
||
|
|
||
|
The 'packages' argument is an array of packages to update. The 'callback' parameter will be called when done or when an error occurs.
|