Install node modules from JavaScript.
npm install install-package
import install from 'install-package';
install('co', '--save').then(result => {
console.log(result.stdout);
console.log(result.stderr);
});
install(packages, [args], [options])
Type: String
, Array<String>
Type: String
, Array<String>
, Object
Type: Object