0.0.6 • Published 8 years ago
maxyspark-download v0.0.6
maxyspark-download
npm module for download file
#####dependencies request
and progress
###Installation
####npm install maxyspark-download
###Uses
const maxDonwload = require('maxyspark-download');
var filename = "prog.gif";
var url = "http://skillprogramming.com/images/pictuers/how_many_of_you_get_the_same_feeling.gif";
function endFunc() {
console.log("download completed : "+filename);
}
maxDonwload.download(url,filename,endFunc);
###Output
File Size : 0.50 MB
downloading [====================] 100% 0.0s
download completed : prog.gif
###Options
#####url
- download url
#####filename
- name of the file to be download with file extension
#####endFunc()
- callback function to run after complete the download