vagrant-download

0.1.0 • Public • Published

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
});

Readme

Keywords

none

Package Sidebar

Install

npm i vagrant-download

Weekly Downloads

1

Version

0.1.0

License

BSD

Last publish

Collaborators

  • tobiasoberrauch