Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (15 loc) · 672 Bytes

README.md

File metadata and controls

33 lines (15 loc) · 672 Bytes

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

});