Generate universal (OS X and Linux) installation scripts for your CLI programs hosted on npm.
- Installs git, curl and stable node (if needed)
- Globally installs your npm module (
npm install -g
) - Generates understandable code (see template.js)
$ npm install install-script --save
See template for installation scripts in template.js.
const installScript = require('install-script');
let script = installScript({
name: 'ava'
});
- install-script-cli - generate install scripts from CLI
$ make test
MIT © vdemedes