got-img
v0.1.0
Published
Get an image from a url
Maintainers
Readme
got-img
Get an image from a url
Install
npm install got-imgUsage
const gotImg = require('got-img');
(async () => {
const imgData = await gotImg('http://obs.astro.ucla.edu/images/towercam.jpg');
doSomething(imgData); //imgData is binary
})License
MIT
