Download and extract files
See download-cli for the command-line version.
$ npm install --save download
const fs = ;const download = ;;;;Promiseall'unicorn.com/foo.jpg' 'cats.com/dancing.gif';
URL to download.
Path to where your file will be written.
Same options as got in addition to the ones below.
If set to
true, try extracting the file using decompress.
MIT © Kevin Mårtensson