0.1.5 • Published 10 years ago

image-check v0.1.5

Weekly downloads
6
License
MIT
Repository
github
Last release
10 years ago

image-check NPM version Dependency Status

Check if image exists and retrieve its size (based on Promise)

Installation

$ npm install --save image-check

Usage

var checkImage = require('image-check');
checkImage('some image url to test').then((data) => {
    // access image attributes
    const width = data.width;
    const height = data.height;
    const url = data.url;
}).catch((err) => {
    // handle error
});

License

MIT © Dongwon Lim

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago