Get image size without full download. Supported image types: JPG, GIF, PNG, WebP, BMP, TIFF, PSD.
npm install co-probe-image-size --save
Oo, I need star: here.
var probe = require('co-probe-image-size');
var dimensions = yield probe.getSize("test-image-name.jpg");
console.log(dimensions);