join-images
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -5,9 +5,9 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const alignImage_1 = (0, tslib_1.__importDefault)(require("./utils/alignImage")); | ||
const calcMargin_1 = (0, tslib_1.__importDefault)(require("./utils/calcMargin")); | ||
const sharp_1 = (0, tslib_1.__importDefault)(require("sharp")); | ||
const fs_1 = (0, tslib_1.__importDefault)(require("fs")); | ||
const is_plain_obj_1 = (0, tslib_1.__importDefault)(require("is-plain-obj")); | ||
const alignImage_1 = tslib_1.__importDefault(require("./utils/alignImage")); | ||
const calcMargin_1 = tslib_1.__importDefault(require("./utils/calcMargin")); | ||
const sharp_1 = tslib_1.__importDefault(require("sharp")); | ||
const fs_1 = tslib_1.__importDefault(require("fs")); | ||
const is_plain_obj_1 = tslib_1.__importDefault(require("is-plain-obj")); | ||
function joinImages(images, { direction = 'vertical', color = { alpha: 0.5, b: 0, g: 0, r: 0 }, align = 'start', offset = 0, margin, } = {}) { | ||
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { | ||
return tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
if (!Array.isArray(images)) { | ||
@@ -19,3 +19,3 @@ throw new TypeError('`images` must be an array that contains images'); | ||
} | ||
const processImg = (img) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { | ||
const processImg = (img) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
let imageSrc = img; | ||
@@ -22,0 +22,0 @@ let offsetX = 0; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./common"), exports); | ||
tslib_1.__exportStar(require("./common"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "join-images", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "Merge multiple images into a single image", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17116