The npm plugin
The plugin uses node to install dependencies from
package.json. It also sets up binaries defined in
package.json by adding them to
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
This plugin uses the following plugin-specific keyword:
The version of node.js you want the snap to run on and includes npm, as would be downloaded from (https://nodejs.org).
For examples, search GitHub for projects already using the plugin.
Requires Snapcraft version 4.0+.
Last updated 1 year, 4 months ago.