downloader

File downloader tool

Usage no npm install needed!

<script type="module">
  import downloader from 'https://cdn.skypack.dev/downloader';
</script>

README

Downloader

Node.js event driven downloader.

Usage

var downloader = require('./lib/downloader');

var downloadDir = __dirname + '/downloads/';

downloader.on('done', function(msg) {
    console.log(msg);
});

downloader.on('error', function(msg) {
    console.log(msg);
});

downloader.download("http://site.com/file1.txt", downloadDir);

License

@2012 Hendrix Tavarez MIT License http://www.opensource.org/licenses/MIT