Socket
Book a DemoInstallSign in
Socket

install-script

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

install-script

Generate install scripts for your CLIs

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

install-script Circle CI

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'
});

Tests

Circle CI

$ make test

License

MIT © vdemedes

FAQs

Package last updated on 21 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts