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