install-package
Install node modules from JavaScript.
Last updated a year ago by 1000ch .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install install-package 
SYNC missed versions from official npm registry.

install-package

Install node modules from JavaScript.

Build Status

Install

npm install install-package

Usage

const install = require('install-package');

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

API

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

packages

Type: String, Array<String>

options

Type: String, Array<String>, Object

execOptions

Type: Object

License

MIT: http://1000ch.mit-license.org

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (0)
None
Dev Dependencies (6)

Copyright 2014 - 2016 © taobao.org |