n-install-missing

1.0.2 • Public • Published

Build Status downloads npm Code Climate Test Coverage dependencies

n-install-missing

Given a list of node versions, install any not currently installed using n.

Installation

npm install --save n-install-missing

Summary

n-install-missing exports a function that takes an array of node versions and, using n, installs any that aren't currently installed.

var install = require('n-install-missing');
install(['4.0.0', '5.0.0'], function(err) {
 
});

By default, there is logging when installing each version, but you can turn this off by passing the quiet option.

var install = require('n-install-missing');
install(['4.0.0', '5.0.0'], { quiet: true }, function(err) {
 
});

Contributing

Please see the contribution guidelines.

Package Sidebar

Install

npm i n-install-missing

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • tandrewnichols