node-libpng
Version:
Unofficial bindings for node to libpng.
12 lines • 855 B
JavaScript
;
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.__native_fill = exports.__native_copy = exports.__native_resize = exports.__native_isPng = exports.__native_encode = exports.__native_PngImage = void 0;
const fs = require("fs");
const file_name_1 = require("../scripts/file-name");
// istanbul ignore if
if (!fs.existsSync(file_name_1.qualifiedName)) {
throw new Error(`Unable to find native addon file "${file_name_1.qualifiedName}".`);
}
_a = require(file_name_1.qualifiedName), exports.__native_PngImage = _a.__native_PngImage, exports.__native_encode = _a.__native_encode, exports.__native_isPng = _a.__native_isPng, exports.__native_resize = _a.__native_resize, exports.__native_copy = _a.__native_copy, exports.__native_fill = _a.__native_fill; // tslint:disable-line
//# sourceMappingURL=native.js.map