In case you want to install npm package file, created by “npm pack” command, just specify the path to the file to “name”.
description: Install "sample" node.js package, created by "npm pack", located at /tmp/sample.tar.gz
- npm: name=/tmp/sample.tar.gz path=/app/location
That’s it.