Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 765 Bytes

File metadata and controls

40 lines (24 loc) · 765 Bytes

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