got-img

    0.1.0 • Public • Published

    got-img

    Get an image from a url

    Install

    npm install got-img
    

    Usage

    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

    Install

    npm i got-img

    DownloadsWeekly Downloads

    11

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    3.81 kB

    Total Files

    5

    Last publish

    Collaborators

    • jnoh