install-package

Install node modules from JavaScript.

Downloads
107
Stars
2
Committers
4

install-package test

Install node modules from JavaScript.

Install

npm install install-package

Usage

import install from 'install-package';

install('co', '--save').then(result => {
  console.log(result.stdout);
  console.log(result.stderr);
});

API

install(packages, [args], [options])

packages

Type: String, Array<String>

args

Type: String, Array<String>, Object

options

Type: Object

License

MIT © Shogo Sensui

Package Rankings
Top 7.2% on Npmjs.org