1.0.1 • Published 10 years ago
npmin v1.0.1
npmin

npminskips modules that are already installed.
Install
$ npm install --save npminUsage
const npmin = require('npmin')
const options = {verbose: true}
npmin(['express', 'co'], options)
.then(result => {
console.log(result.express)
//=> success: 0
console.log(result.co)
//=> failed: 1
})API
npmin(input, options)
input
Type: array
A list of modules you wanna install.
options
Type: object
The options to run npm install with, support all npm install options.
License
MIT © EGOIST