$ npm install osthumb
System-specific thumbnail generation.
var thumb = require('osthumb'); thumb(path, { width: 100, height: 100 }, function(err, path){ });
width
height
type
MIT