files-download-zip
v3.1.1
Published
This library is used to download images in bulk as a zip file. You need to specify an array of images URL to download. The library will fetch all the images and will create a zip file.
Downloads
185
Maintainers
Readme
Download Images as a Zip file
This library is used to download images in bulk as a zip file. You need to specify an array of images URL to download. The library will fetch all the images and will create a zip file.
Installation
This package is distributed via npm:
npm install files-download-zip
Usage
const downloadImagesAsZip = require('files-download-zip');
const imgDataArray = [ "http://www.bollywoodlife.com/wp-content/uploads/2014/12/shenaz-treasurywala-111214.jpg" ];
const zipFileName = 'imagesZip';
downloadImagesAsZip.execute(imgDataArray, zipFileName, function() { // callback function
alert('Done');
});