mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
370 B
370 B
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.