These states manage the installed packages for node.js using the Node Package Manager (npm). Note that npm must be installed for these states to be available, so npm states should include a requisite to a pkg.installed state for the package which provides npm (simply npm in most cases). Example:
npm:
pkg.installed
yaml:
npm.installed:
- require:
- pkg: npm
Bootstraps a node.js application.
will execute npm install --json on the specified directory
The user to run NPM with
Deprecated since version 0.17.0.
The user to run NPM with
New in version 0.17.0.
Verify that the given package is installed and is at the correct version (if specified).
The user to run NPM with
Deprecated since version 0.17.0.
The user to run NPM with
New in version 0.17.0.
Verify that the given package is not installed.
The user to run NPM with
Deprecated since version 0.17.0.
The user to run NPM with
New in version 0.17.0.
Current Salt release: 2014.1.6
Docs for previous releases on salt.rtfd.org.