Package Exports
- npminstall
- npminstall/bin/install
- npminstall/bin/install.js
- npminstall/lib/utils
- npminstall/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (npminstall) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
npminstall
Let npm install fast and easy.
Installation
$ npm install npminstall --saveQuick start
const co = require('co');
const npminstall = require('npminstall');
co(function*() {
yield npminstall({
// install root dir
root: process.cwd(),
// optional packages need to install, default is package.json's dependencies and devDependencies
// pkgs: [
// { name: 'foo', version: '~1.0.0' },
// ],
// registry, default is https://registry.npmjs.org
// registry: 'https://registry.npmjs.org',
// debug: false,
// storeDir: root + '.npminstall',
});
}).catch(function(err) {
console.error(err.stack);
});