co-probe-image-size

1.0.2 • Public • Published

co-probe-image-size

Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, PSD.

Install

npm install co-probe-image-size --save

Oo, I need star: here.

Example

var probe = require('co-probe-image-size');

var dimensions = yield probe.getSize("test-image-name.jpg");
console.log(dimensions);

License

MIT

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i co-probe-image-size

    Weekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • jasonnowcoding