A Node module to get dimensions of any image file
npm install image-size --save
var sizeOf = ;var dimensions = ;console;
var sizeOf = ;;
NOTE: The asynchronous version doesn't work if the input is a Buffer. Use synchronous version instead.
var url = ;var http = ;var sizeOf = ;var imgUrl = '';var options = url;http;
You can optionally check the buffer lengths & stop downloading the image after a few kilobytes. You don't need to download the entire image
npm install image-size --globalimage-size image1 [image2] [image3] ...
not a direct port, but an attempt to have something like dabble's imagesize as a node module.