vagrant-download

v0.1.0
A downloader for vagrant

vagrant-download

downloads vagrant from website

var download = require('vagrant-download');

download({
    version: '1.7.4',
    platform: 'darwin'
    cache: './files' // defaults to <users home directory>/.vagrant-download
}, function (err, filePath) {
    // filePath will be the path of the file that it downloaded.
    // if the zip was already cached it will skip
    // downloading and call the cb with the cached zip path
    // if it wasn't cached it will download the zip and save
    // it in the cache path
});
npm i vagrant-download

Metadata

  • BSD
  • Whatever
  • Tobias Oberrauch
  • released 8/10/2015

Downloads

Maintainers