UNPKG

easyimage

Version:

A promise-based, user-friendly module for processing images in Node.js

24 lines (20 loc) 774 B
"use strict"; /* EasyImage EasyImage is a promise-based image processing module for Node.js, it is built on top of ImageMagick, so make sure ImageMagick is installed on your system. Copyright (c) 2015 Hage Yaapa <http://www.hacksparrow.com> Maintained by Kevin Gravier <http://github.com/mrkmg> MIT License */ exports.__esModule = true; var tslib_1 = require("tslib"); var MissingOptionsError = /** @class */ (function (_super) { tslib_1.__extends(MissingOptionsError, _super); function MissingOptionsError(options) { return _super.call(this, "Missing " + options.map(function (o) { return "`" + o + "`"; }).join(", ") + " from options") || this; } return MissingOptionsError; }(Error)); exports.MissingOptionsError = MissingOptionsError;