download-image
v1.0.1
Published
Library with simple API to download an image from a URL to a desired location
Downloads
33
Readme
download-image
Library with simple API to download an image from a URL to a desired location
Installation
npm install --save-dev download-image
Usage
let downloadImage = require('download-image')
downloadImage('http://lorempixel.com/g/400/200/', `./image.jpg`)
downloadImage('lorempixel.com/g/400/200/', `./image2.jpg`)