0.1.0 • Published 9 years ago

vagrant-download v0.1.0

Weekly downloads
2
License
BSD
Repository
github
Last release
9 years ago

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