Skip to content

ravinaenu/files-download-zip

 
 

Repository files navigation

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

});

About

Download bulk images as a zip file

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%