npm-update.md 370 Bytes
Newer Older
Nicolas Widart's avatar
Nicolas Widart committed
1 2 3 4 5 6 7 8 9 10 11
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.