{"_id":"merge-images","_rev":"21-3cda30bbc965ed9b4437d3e0a5a44ca5","name":"merge-images","description":"Easily compose images together without messing around with canvas","dist-tags":{"latest":"2.0.0"},"versions":{"0.0.0":{"name":"merge-images","version":"0.0.0","description":"Easily compose images together without messing around in canvas","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","xo":"^0.17.1"},"gitHead":"95c34bcac3f2708c89c2bac19d46cab0f82b448c","_id":"merge-images@0.0.0","_shasum":"60d0df5d5ee2a91103318466804ca97ceb43ed8a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"60d0df5d5ee2a91103318466804ca97ceb43ed8a","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-0.0.0.tgz","integrity":"sha512-KPNCrKmefxLRJ9aCHZ1uOz2GHMiPl0baT+KyFT+o0Pa55wofwZSBvFPxaGetUoYUCiu3f2oWEqBUuhk0Oylv+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEk0SQQwC3N1/uX2SB5pgsz71fJPfONLOq1v1hVB+FJ1AiAAxcD5bEVT7sK/oFY460gYUvPYLcjAmqGk6Ish4FgjOg=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/merge-images-0.0.0.tgz_1488436478980_0.47373521118424833"},"directories":{}},"1.0.0":{"name":"merge-images","version":"1.0.0","description":"Easily compose images together without messing around with canvas","main":"src/index.js","scripts":{"lint":"xo","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","xo":"^0.17.1"},"gitHead":"1aa5b2bca5c010cefef83d5e291fb21a95059b4f","_id":"merge-images@1.0.0","_shasum":"e9096499c8e4720ed83cfbd97563b496931a6dc1","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"e9096499c8e4720ed83cfbd97563b496931a6dc1","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.0.tgz","integrity":"sha512-vrXFOdYfh8Sneqk5Bllhpjus1zbmzFwXq7ZN31cPJrJIzFH/IV2uLPolhLixHlaGnQz9Dqouskt2Hh6R2npiaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH50+g2gq8Dlb0nTOytlXctGYyYCdLuKJ7LknsqOEYeXAiBHY0lMFgCYfHF+2pXQiXhoTIo+QppSNmuzZswBL7kVcw=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/merge-images-1.0.0.tgz_1488438848103_0.4563961671665311"},"directories":{}},"1.0.1":{"name":"merge-images","version":"1.0.1","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","rollup":"^0.41.4","rollup-plugin-buble":"^0.15.0","xo":"^0.17.1"},"gitHead":"c766e7a47c0a2abf1a45953c9375aca0699a7534","_id":"merge-images@1.0.1","_shasum":"acefbab07ef835c2a0ba6827b727334a4fda5daf","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"acefbab07ef835c2a0ba6827b727334a4fda5daf","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.1.tgz","integrity":"sha512-wyQ5J3iKai85MWUwWen5qTCdSgsnB9jZp2NHYhrxlgeZcoSZo24n3s7oN8E4JekTuU9ooISVSWsACmpmjNDpCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQChU7R3aSuE4bshQzKRfyXv0jJHJ6Vbzonja2NhIZyAiAh/LoM9bDqx2A70I7ztD39ltUYyQfMImQ/MDVddcf0Fw=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/merge-images-1.0.1.tgz_1488442867771_0.16575449937954545"},"directories":{}},"1.0.2":{"name":"merge-images","version":"1.0.2","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","rollup":"^0.41.4","rollup-plugin-buble":"^0.15.0","xo":"^0.17.1"},"gitHead":"b98ef16424e327279845148e95b34566c1f3e35b","_id":"merge-images@1.0.2","_shasum":"0559c767eb5279df050ec555eff4220278a09414","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"0559c767eb5279df050ec555eff4220278a09414","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.2.tgz","integrity":"sha512-dkVPigE1d8CslxKFSponoCw1kjXFMWsvLZXE3O/9h8Fn0x1g8cu382MMo+faMMtwNSkxZWQWmUevDI8bZunUuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMZJoDZT+ORLw/LxKF6XoIyXspzl46PmtSUn1yEYeoWwIgJ4ewq+0/4JJV61IBuf9WMU+mm2vWqoR2Do3ZkdP573U="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/merge-images-1.0.2.tgz_1488443157068_0.017765644239261746"},"directories":{}},"1.0.3":{"name":"merge-images","version":"1.0.3","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","rollup":"^0.41.4","rollup-plugin-buble":"^0.15.0","xo":"^0.17.1"},"gitHead":"7a44bb1bf996335eaa870d4bb8ef4c6e55063265","_id":"merge-images@1.0.3","_shasum":"1fcb04c1194da22c83a9381c00027465296b0789","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"1fcb04c1194da22c83a9381c00027465296b0789","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.3.tgz","integrity":"sha512-BLY7NZNOrZD3+sX4mS8ZBI3b4Skx/mgnRvPAS2fxbQnlwZ/wSAjzxpZDxP5efsYdK1ZVCxqaJQ7TI+Grex3AtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0aFAYSbO4G0VxbY0LuM0oTxrSVPBauYKV5rG2+FoaYAiEA5DC3M7qsPXLXDIdL8/puy3vj2YSGBm9OlJNHn+uOvbA="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/merge-images-1.0.3.tgz_1488443823936_0.9279918735846877"},"directories":{}},"1.0.4":{"name":"merge-images","version":"1.0.4","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.18.1","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^10.0.0","pify":"^2.3.0","rollup":"^0.41.4","rollup-plugin-buble":"^0.15.0","xo":"^0.17.1"},"gitHead":"35af5dbc8dc2583cbad196a1f869bc3cf8e336d1","_id":"merge-images@1.0.4","_shasum":"7d3428401dd4d37fa671316a93208ada3718d965","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"7d3428401dd4d37fa671316a93208ada3718d965","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.4.tgz","integrity":"sha512-8XZIvj+hKIvnCXRtK65jTVsq01l/TxQb+fXt7WVUJjQ5rQdmfSN/gvsCzMqnzCBKNwltV/N0GyE+BTcPrup1ZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGkq/TPnBaBmcvPGabBj5EFB4DxCKQvhFwfkz6kwd+n9AiEAwvmYcPUA2pk6AEpa7NdLDtWJZ/w4KYes7d5wU1MuFpI="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/merge-images-1.0.4.tgz_1488533293069_0.5205695529002696"},"directories":{}},"1.0.5":{"name":"merge-images","version":"1.0.5","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.19.1","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^2.11.15","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.42.0","rollup-plugin-buble":"^0.15.0","xo":"^0.18.2"},"gitHead":"b3dd64c20c18013a1e410de0789dc0a940353ae0","_id":"merge-images@1.0.5","_shasum":"c8787b6c78557be71360c74453419fcee96baee9","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"c8787b6c78557be71360c74453419fcee96baee9","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.5.tgz","integrity":"sha512-rNIOuQFo9zVN3gCf2DZrjXtQ/+qybqFFSNHKODQX1Q7H07NLS3OdaH7TB9sfapMKCKfBx8/WSk8z9ZQPfAsp2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGYl0dbjC/q3fRrhaL3B9OxYhjVUgHVeyXXXpFWcaCayAiEAlXFMkg7792WBgmsHyPIgTP7J3NhjNWYAkqJTkVFas4I="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images-1.0.5.tgz_1498838520277_0.37715912493877113"},"directories":{}},"1.0.6":{"name":"merge-images","version":"1.0.6","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.24.0","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^3.0.0","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.52.0","rollup-plugin-buble":"^0.18.0","xo":"^0.18.2"},"gitHead":"11990aed6a91c6538dfc22237af4695cc5035736","_id":"merge-images@1.0.6","_shasum":"4f193cd8fe4d7169ef0b7308a0eeeddee04d11ea","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.2.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"4f193cd8fe4d7169ef0b7308a0eeeddee04d11ea","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.6.tgz","integrity":"sha512-GCFux8bPAgb5vXbRjtblRoP1ombHIQqehtRmXfWAZ1Nb0lsXXkE8WFNswKVcLz+GIyN8hfKx+ZIrgRHA+CMzhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICF1cGhYQiUFxnu0Q0IQ812zgvIBXGjhs38VwEtBAoK+AiEAw4Jqc3uBkYkT3kz76gDvgisfgZXc+9KpDBzC1I6X9Q8="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images-1.0.6.tgz_1512047994368_0.8705647217575461"},"directories":{}},"1.0.7":{"name":"merge-images","version":"1.0.7","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","files":["dist"],"scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.24.0","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^3.0.0","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.52.0","rollup-plugin-buble":"^0.18.0","xo":"^0.18.2"},"gitHead":"b89e2278966159ea22caa99f79018eec8aba132f","_id":"merge-images@1.0.7","_shasum":"f091466263f878d16d06c03cebc37ea97e9288ca","_from":".","_npmVersion":"4.6.1","_nodeVersion":"9.2.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"shasum":"f091466263f878d16d06c03cebc37ea97e9288ca","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.0.7.tgz","integrity":"sha512-3hrxtMqoKf9rMc5H5TMiRoVRJx6nBSicXSoEO6OSaVvRBK0dZxoDph+2gBxm6RJTiasrL4LDHYV8RhRsXM70Uw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC0Cw3nEHxJWrwTXm1Myq/6BxSbh/el4XqG581OdrQrsQIhAJ5TlE3lH5D8gVHAFxdGDognOI1oiRnIsxYNeEfE0Ggq"}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images-1.0.7.tgz_1512104794365_0.7825163824018091"},"directories":{}},"1.1.0":{"name":"merge-images","version":"1.1.0","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","files":["dist"],"scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.25.0","camelcase":"^4.0.0","canvas":"^1.6.2","coveralls":"^3.0.0","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.55.3","rollup-plugin-buble":"^0.18.0","xo":"^0.18.2"},"gitHead":"5857f271c22010df6d7636645fb4d525076ac307","_id":"merge-images@1.1.0","_npmVersion":"5.5.1","_nodeVersion":"9.3.0","_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"dist":{"integrity":"sha512-RNRb9+NR/LqyKKD6AyMNT66R5BVh9y3WrFB6OqrnN38M+EwST4gxjC0luZO6H8xgpSBQ3LNq/ELtRFsDfHNsng==","shasum":"e41b5f29972a493d60517e49c5f9ce139c3db16a","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.1.0.tgz","fileCount":7,"unpackedSize":21151,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5hPdZRsKeCq+svHEO2m28yKMIEd80P3sJHUJQp58W0AiEAgHXoZe9RA9LSNcRVWGreddaQQOJx6YuHvDGa6SpBd8c="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images_1.1.0_1518582805759_0.2772968166742613"},"_hasShrinkwrap":false},"1.2.0":{"name":"merge-images","version":"1.2.0","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.25.0","camelcase":"^5.0.0","canvas":"^1.6.2","coveralls":"^3.0.0","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.59.0","rollup-plugin-buble":"^0.19.2","xo":"^0.18.2"},"gitHead":"1ce1a52ff48b952073635fa0237045e44e4a4969","_id":"merge-images@1.2.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-hEGvgnTdXr08uzGvEArxRsKpy7WmozM73YaSi4s5IYF4LxrhANpqfHaz9CgBZ5+0+s2NsjPnPdStz3aCc0Yulw==","shasum":"740117bd655b310fe2046f7c980798ded8d6d4f2","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-1.2.0.tgz","fileCount":7,"unpackedSize":22121,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeX3fvCRA9TVsSAnZWagAAS3QP/RyM80t5P34jjXcLeDep\nheV0PtEWbmXEukd8ijg9qPFMSaBM7NDZMgozrU5HizdIcYKYIVCJ9uHS9wPJ\nTazYp5wdTZcV+penNpc3+z4spuSZBcAgTXaxMX+7oN5JdyGgu4nCcjHQWPKb\nCGcJKzcDK91Qe5Y9L3Tipms+8A38wexHVXWz/Of3NFqp2Wo16TaZCC5IjSW2\naGXNJtJuuXB8IUwmGoKfD7TZIyDOepCOYJgYS9+vjA325pdtYFnUxa9+vr4Y\nltoanmO00FoSEf5QpcQLnTKO5xLHWWc2zOt54LSm7Om1rqzlW3w3KJrglvUP\nYpcHXL8YpWg7m7gsjVSPvnRWHJ780wrS1DcPPD6jKnpXOEdhB7F+WZNbbDaf\nsyYrlHIKjt0VIaSAyh+3A/l2y1Yzt5+hTieXzqNpsbrbsbWbRmv0MIpTJ2Ro\nSCIix0SOh56bsQIdALmL5+hsRYbfBXmrBwOlIaDuWVjnDpKKSNfDZ7PnZOTz\n0jh6UeHYYC6EYZ1rpEZyp9AXihphq61UgAQPxsbn+woUEvBZEhvI4Rxe5f+l\nALrzHTzGz2d4/dDAVRUHpRNaXu63oEP0eLBHlJ1AJxMdqNTKT8XKBEqfKJzd\nmhBEzWXqSquOyiKEB0rmm1EXT3NW+mpWcLS9oUAMqLnoyrKj+2dJz0WIyUsV\nPjQR\r\n=EMDF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBu4JsDiSzU5r6R5YUVuTnKd5AsdUbQUkvjXSVdMYlYBAiADugHpCTAtigRLZGMkpfzDZzlj2Bb1o7fBkBRlMtGwrQ=="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images_1.2.0_1583314927539_0.8748284835927815"},"_hasShrinkwrap":false},"2.0.0":{"name":"merge-images","version":"2.0.0","description":"Easily compose images together without messing around with canvas","main":"dist/index.umd.js","module":"dist/index.es2015.js","scripts":{"prebuild":"rm -rf dist","build":"rollup -c","pretest":"npm run build","test":"nyc ava","coverage":"nyc report --reporter=text-lcov | coveralls","prelint":"npm run build","lint":"xo","prepublish":"npm run build"},"xo":{"env":"browser","extends":"xo-lukechilds"},"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"keywords":["compose","merge","images","without","no","canvas"],"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"license":"MIT","bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"homepage":"https://github.com/lukechilds/merge-images","dependencies":{},"devDependencies":{"ava":"^0.25.0","camelcase":"^5.0.0","canvas":"^2.6.1","coveralls":"^3.0.0","datauri":"^1.0.5","eslint-config-xo-lukechilds":"^1.0.0","nyc":"^11.0.2","pify":"^3.0.0","rollup":"^0.59.0","rollup-plugin-buble":"^0.19.2","xo":"^0.18.2"},"gitHead":"c177b65b4b927ca79b5852b3dc62720fa2cee57f","_id":"merge-images@2.0.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-bpI4j54n/Zl6ZTgxaR3xWou/lqI53RAAt8peXijW37BKqoON83LQ7XCZqtFiwzBfEXIws1isYyR06584yffAyA==","shasum":"4d68d6d90ad8c33a91aced0b5d8660983bf4db3a","tarball":"https://registry.npmjs.org/merge-images/-/merge-images-2.0.0.tgz","fileCount":7,"unpackedSize":21808,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJebzapCRA9TVsSAnZWagAAid8P/iikfFt3jD9cZ9MF0dZ4\nsunpcVFX8JSJlwHo0dyYyVffdR+bgHI8VnrVM9a2b2V01nnolAakrKdsC8as\n67gr+i4wekkPj5/cWTEAbI/WkOTPDiA7uGOdOqkOjqOhdZepg3TFwsN7Z+7N\n/+Z2um6et1idvv6589agfmn+74H3kCzJ6tW6s/C/UGKLuv5ci/+uXL1l7fUU\nUZvQrFCYJxfya9pZ08B80sxcgn1Z1wbPGRBxiWfxSabfsmZBp2slwWxj4AII\nb4ZEn8NX4aRALeqTB+CIT09O0cL8N6QpPB+tGRBiIXEz1BersWuYppgL6KnS\nso9Yanj3e/eFgjzXA2EjoCBKZZbUZaMiSo8SSLJdbsvnyRW3zQLvh3+Gxueh\nJ/NTeXfVlnxhd15gJJOjZVWmzqbh02OoQbwTizffFgtk6zLiMekajNxUTNI8\ncDFPCdGCjeYVJWkbovAN8xZDGjHRNwCjeOLYYcLNaKAx0brJUuA/I74JVUrB\n4WLGw3bkffcCUGasNJaYMZmdPy/8d5BO1Jtce16CtukOIhG6q5jtvpIOO8VX\nRMSyXyEOb2cZY0CD1EHSzTOHY6rLm55qtyqphX1btG0uAl6U1v35xWn11nJK\naJS9WBPBmYm7Q/pZHcaCe1rWlPICQ/HDyeSPFeZdN84dLjqPpYOOc50gaHZH\nZXbA\r\n=zm2S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZc2Cl5+wUgDHHcb1gPxbSAJzbxuvmJ7nSrqM0mtXQsAIgS+jrFt1leLnxr22Lw1u25EGMhwujHOa6Oas7uiNJf+E="}]},"maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"_npmUser":{"name":"lukechilds","email":"lukechilds123@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/merge-images_2.0.0_1584346793062_0.29703922049258913"},"_hasShrinkwrap":false}},"readme":"# merge-images\n\n> Easily compose images together without messing around with canvas\n\n[![Build Status](https://travis-ci.org/lukechilds/merge-images.svg?branch=master)](https://travis-ci.org/lukechilds/merge-images)\n[![Coverage Status](https://coveralls.io/repos/github/lukechilds/merge-images/badge.svg?branch=master)](https://coveralls.io/github/lukechilds/merge-images?branch=master)\n[![npm](https://img.shields.io/npm/dm/merge-images.svg)](https://www.npmjs.com/package/merge-images)\n[![npm](https://img.shields.io/npm/v/merge-images.svg)](https://www.npmjs.com/package/merge-images)\n\nCanvas can be kind of a pain to work with sometimes, especially if you just need a canvas context to do something relatively simple like merge some images together. `merge-images` abstracts away all the repetitive tasks into one simple function call.\n\nImages can be overlaid on top of each other and repositioned. The function returns a Promise which resolves to a base64 data URI. Supports both the browser and Node.js.\n\n## Install\n\n```shell\nnpm install --save merge-images\n```\n\nor for quick testing:\n\n```html\n<script src=\"https://unpkg.com/merge-images\"></script>\n```\n\n## Usage\n\nWith the following images:\n\n`/body.png`|`/eyes.png`|`/mouth.png`\n---|---|---\n<img src=\"/test/fixtures/body.png\" width=\"128\">|<img src=\"/test/fixtures/eyes.png\" width=\"128\">|<img src=\"/test/fixtures/mouth.png\" width=\"128\">\n\nYou can do:\n\n```js\nimport mergeImages from 'merge-images';\n\nmergeImages(['/body.png', '/eyes.png', '/mouth.png'])\n  .then(b64 => document.querySelector('img').src = b64);\n  // data:image/png;base64,iVBORw0KGgoAA...\n```\n\nAnd that would update the `img` element to show this image:\n\n<img src=\"/test/fixtures/face.png\" width=\"128\">\n\n### Positioning\n\nThose source png images were already the right dimensions to be overlaid on top of each other. You can also supply an array of objects with x/y co-ords to manually position each image:\n\n```js\nmergeImages([\n  { src: 'body.png', x: 0, y: 0 },\n  { src: 'eyes.png', x: 32, y: 0 },\n  { src: 'mouth.png', x: 16, y: 0 }\n])\n  .then(b64 => ...);\n  // data:image/png;base64,iVBORw0KGgoAA...\n```\n\nUsing the same source images as above would output this:\n\n<img src=\"/test/fixtures/face-custom-positions.png\" width=\"128\">\n\n### Opacity\n\nThe opacity can also be tweaked on each image.\n\n```js\nmergeImages([\n  { src: 'body.png' },\n  { src: 'eyes.png', opacity: 0.7 },\n  { src: 'mouth.png', opacity: 0.3 }\n])\n  .then(b64 => ...);\n  // data:image/png;base64,iVBORw0KGgoAA...\n```\n\n<img src=\"/test/fixtures/face-opacity.png\" width=\"128\">\n\n### Dimensions\n\nBy default the new image dimensions will be set to the width of the widest source image and the height of the tallest source image. You can manually specify your own dimensions in the options object:\n\n```js\nmergeImages(['/body.png', '/eyes.png', '/mouth.png'], {\n  width: 128,\n  height: 128\n})\n  .then(b64 => ...);\n  // data:image/png;base64,iVBORw0KGgoAA...\n```\n\nWhich will look like this:\n\n<img src=\"/test/fixtures/face-custom-dimension.png\" width=\"64\">\n\n## Node.js Usage\n\nUsage in Node.js is the same, however you'll need to also require [node-canvas](https://github.com/Automattic/node-canvas) and pass it in via the options object.\n\n```js\nconst mergeImages = require('merge-images');\nconst { Canvas, Image } = require('canvas');\n\nmergeImages(['./body.png', './eyes.png', './mouth.png'], {\n  Canvas: Canvas,\n  Image: Image\n})\n  .then(b64 => ...);\n  // data:image/png;base64,iVBORw0KGgoAA...\n```\n\nOne thing to note is that you need to provide a valid image source for the node-canvas `Image` rather than a DOM `Image`. Notice the above example uses a file path, not a relative URL like the other examples. Check the [node-canvas docs](https://github.com/Automattic/node-canvas) for more information on valid `Image` sources.\n\n## API\n\n### mergeImages(images, [options])\n\nReturns a Promise which resolves to a base64 data URI\n\n#### images\n\nType: `array`<br>\nDefault: `[]`\n\nArray of valid image sources for `new Image()`.<br>\nAlternatively an [array of objects](#positioning) with `x`/`y` co-ords and `src` property with a valid image source.\n\n#### options\n\nType: `object`\n\n##### options.format\n\nType: `string`<br>\nDefault: `'image/png'`\n\nA DOMString indicating the image format.\n\n##### options.quality\n\nType: `number`<br>\nDefault: `0.92`\n\nA number between 0 and 1 indicating image quality if the requested format is image/jpeg or image/webp.\n\n##### options.width\n\nType: `number`<br>\nDefault: `undefined`\n\nThe width in pixels the rendered image should be. Defaults to the width of the widest source image.\n\n##### options.height\n\nType: `number`<br>\nDefault: `undefined`\n\nThe height in pixels the rendered image should be. Defaults to the height of the tallest source image.\n\n##### options.Canvas\n\nType: `Canvas`<br>\nDefault: `undefined`\n\nCanvas implementation to be used to allow usage outside of the browser. e.g Node.js with node-canvas.\n\n##### options.crossOrigin\n\nType: `string`<br>\nDefault: `undefined`\n\nThe `crossOrigin` attribute that `Image` instances should use. e.g `Anonymous` to [support CORS-enabled images](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image).\n\n## License\n\nMIT © Luke Childs\n","maintainers":[{"name":"lukechilds","email":"lukechilds123@gmail.com"}],"time":{"modified":"2022-06-19T17:52:52.468Z","created":"2017-03-02T06:34:39.241Z","0.0.0":"2017-03-02T06:34:39.241Z","1.0.0":"2017-03-02T07:14:08.351Z","1.0.1":"2017-03-02T08:21:09.998Z","1.0.2":"2017-03-02T08:25:59.056Z","1.0.3":"2017-03-02T08:37:04.177Z","1.0.4":"2017-03-03T09:28:13.329Z","1.0.5":"2017-06-30T16:02:01.336Z","1.0.6":"2017-11-30T13:19:54.604Z","1.0.7":"2017-12-01T05:06:34.475Z","1.1.0":"2018-02-14T04:33:25.843Z","1.2.0":"2020-03-04T09:42:07.669Z","2.0.0":"2020-03-16T08:19:53.234Z"},"homepage":"https://github.com/lukechilds/merge-images","keywords":["compose","merge","images","without","no","canvas"],"repository":{"type":"git","url":"git+https://github.com/lukechilds/merge-images.git"},"author":{"name":"Luke Childs","email":"lukechilds123@gmail.com","url":"http://lukechilds.co.uk"},"bugs":{"url":"https://github.com/lukechilds/merge-images/issues"},"license":"MIT","readmeFilename":"README.md","users":{"vivek.vikhere":true,"skriglitz":true}}