Skip to content

tandrewnichols/n-install-missing

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published