npm-update(3)

npm-update3

Update a package

Usage

npm.commands.update(packages, callback)

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.

From npm 1.4.21+ds-2 in Debian 8 (Jessie). Parsed by carta from the page's man source.