UNPKG

lasso

Version:

Lasso.js is a build tool and runtime library for building and bundling all of the resources needed by a web application

8 lines (7 loc) 197 B
exports.getImageInfo = function (path, options, callback) { if (typeof options === 'function') { callback = options; options = null; } callback(null, require(path)); };