0.1.0 • Published 7 years ago
got-img v0.1.0
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
0.1.0
7 years ago