infer-tumblr-image-size
v1.3.0
Published
Infers the image size of a tumblr image based on its url
Downloads
2
Readme
infer-tumblr-image-size
Infer the image size of a tumblr image based on its url
Install
$ npm install --save infer-tumblr-image-size
Usage
var inferSize = require('infer-tumblr-image-size');
inferSize('http://foo.tumblr.com/bar_baz_400.png');
//=> '400'
inferSize('http://foo.tumblr.com/bar_baz_1280.png');
//=> '1280'
Related
- tp - Pull images from tumblr blog
License
MIT © Victor Nascimento Bakke