{"_id":"@conorpai/tilestrata-blend","_rev":"3-5e32cde7f805d4199f71961ff9f5f664","name":"@conorpai/tilestrata-blend","dist-tags":{"latest":"0.3.7"},"versions":{"0.3.5":{"name":"@conorpai/tilestrata-blend","version":"0.3.5","description":"A TileStrata plugin for blending-together multiple layers.","author":{"name":"Brian Reavis","email":"brian@naturalatlas.com"},"license":"Apache License, v2.0","main":"index.js","scripts":{"test":"mocha -R tap"},"repository":{"type":"git","url":"git+https://github.com/naturalatlas/tilestrata-blend.git"},"keywords":["tilestrata","tilestrata-plugin","tilestrata-provider","blend","composite"],"bugs":{"url":"https://github.com/naturalatlas/tilestrata-blend/issues"},"homepage":"https://github.com/naturalatlas/tilestrata-blend","dependencies":{"async":"~1.4.2","fs-extra":"~0.24.0","lodash":"~3.10.1","tilestrata-dependency":"~0.4.1"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"peerDependencies":{"tilestrata":"*","mapnik":"*"},"publishConfig":{"access":"public"},"gitHead":"911570503822eed72a578c329734be76d1dbf71e","_id":"@conorpai/tilestrata-blend@0.3.5","_nodeVersion":"8.17.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-wOeH+G4x+VG94nlfhkKUEinzLJnFcTDzCdcBuworNxN80pnlBuOm1VCS5DzrppllVDNqyobfzNXIIQOib9CUjQ==","shasum":"bb3aa4e9ddc2edb4c7f1c7a99814fefba52a779a","tarball":"https://registry.npmjs.org/@conorpai/tilestrata-blend/-/tilestrata-blend-0.3.5.tgz","fileCount":13,"unpackedSize":70444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+uWPCRA9TVsSAnZWagAAVxYQAJgo6LvPlNRhkiUugOfX\n9Gu6yc8oNnUBapRxRuWCIYHZvRmdjDnE6hNiKrlHwOxSzcVVG29AXhDuOVjJ\n/nzmh9BWG5weaWS+xmnrigVlBLyVg0adptof6+JPziqAoUmR3NmZIc689qmV\n2CwdzWwYtx1lVk/oYgj6+CweIOyQAtCA9B+dJl8lTreYIWgsvRpShf4pA1ru\nK1FAtrK/AzkgYOqlTgImS8U2ZU55VVtAQkVZ9Bk0O0oWnITM2C4V8JXNxUa+\nfVsobIg1rT5G28KzqcIQBLMIa+3rGwOkxammtOL/CJcrOS8Ozr2RMGzu4Jct\n4P/LuRcJtEetoxRHC/EMLaRiIKbdeUrQ7noEWQAsC/w6qqyvv2FdFiUWAESq\nuJsUoupacBoBcr6RlC4eWXDDFsrwHfbsgJvApgGJ7/iO2Qj2ZaozQUPKs92o\nM+x2hOIaHVBRm8vc1bEDVcS82wVGUtnyFDSg8XckWkaQDupKu7xKFUG1WAYM\nMHD4qKqCCgqPW15NmPugkAYDKJrl6jRQYu5PlLPZiLBdWrMSvYtojw2IXj8w\nz9D/4JYZmTqTku3oCXok5V1hFciTc8qgzzr/SJT//iAFs2yNMk42efOjhU1f\nNk9ZbChzXpyirTCu+rPKTkE6lrIhsiv34Hn9HgWkoSB4lfda2zlJos0IokwW\n2b1D\r\n=6n/+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIoG34LyFK6hHUhitcL8kQCh3kTwIIcEnWATviPHGk6AiBtc3Re1o/02Zd4BzNUy/ll6kpzg0COnLkNsbIzw71pGw=="}]},"maintainers":[{"name":"conorpai","email":"baiguangnan@163.com"}],"_npmUser":{"name":"conorpai","email":"baiguangnan@163.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tilestrata-blend_0.3.5_1593501070673_0.10754547028004335"},"_hasShrinkwrap":false},"0.3.6":{"name":"@conorpai/tilestrata-blend","version":"0.3.6","description":"A TileStrata plugin for blending-together multiple layers.","author":{"name":"Brian Reavis","email":"brian@naturalatlas.com"},"license":"Apache License, v2.0","main":"index.js","scripts":{"test":"mocha -R tap"},"repository":{"type":"git","url":"git+https://github.com/naturalatlas/tilestrata-blend.git"},"keywords":["tilestrata","tilestrata-plugin","tilestrata-provider","blend","composite"],"bugs":{"url":"https://github.com/naturalatlas/tilestrata-blend/issues"},"homepage":"https://github.com/naturalatlas/tilestrata-blend","dependencies":{"async":"~1.4.2","fs-extra":"~0.24.0","lodash":"~3.10.1","tilestrata-dependency":"~0.4.1"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"peerDependencies":{"tilestrata":"*","mapnik":"*"},"publishConfig":{"access":"public"},"gitHead":"8a9e932671b9d1078c2d62914f621b71d616db51","_id":"@conorpai/tilestrata-blend@0.3.6","_nodeVersion":"16.11.0","_npmVersion":"8.1.4","dist":{"integrity":"sha512-kA3XTKL08Y88bgI8S9QhI+Hb3Hj47GKwYMyAIL2krN8iHcNY6a/txj1W5UPY0U4/LoT2DoJ9BF8ERx66bfKV+w==","shasum":"e061c9ebf13eb543a1ce2fa69d4d408dba7b5fe9","tarball":"https://registry.npmjs.org/@conorpai/tilestrata-blend/-/tilestrata-blend-0.3.6.tgz","fileCount":13,"unpackedSize":70441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhnv8GCRA9TVsSAnZWagAAlVMP/2K0MqHRukpsmTSQTBvQ\nQDzTCiNTL7cumP/AQMBgkaTOFy8xPzuudmKrC+1pkkQpPK20skQIp1HASCpt\nEv9oijqq6CB4LfOBtk9b7p4tJpVChydPl2zCTlsf4a2don0eMa8/s46HGxG4\nx8Z/QjovEphSARdQGvtH9y2qadxp5rxwwUAnEVZgx/LIQFtW7G/AJiRmkmeh\nRCn1fKynNeqcrUH+g4PFprizxZp6uJtS3PReX1oikhf0hyej1ThffAEYxbtd\nAFCoU5UQDmdkDyCUixN5EZjgd3uxr+wI7zP6gxCd/6JFrcS+XqYk/nsBFF00\nnZLiXzJnjh/FC7XWsHALd6IBPYbTkMTfLb0Rjzrqdi6mREa7j9gofoeBMnQg\nCd4aMsBtwRO3z1ZJCgfSxGVO7u7fXtcKtHTM5yKC2NhORuHuSu6+X8QKR+Uv\nzBdRclLtRZmqvuzUPgWJ50Y2t5r1N4cIQrzc31CtkBSmYqyfAJ9zlmHOREfl\n3FQRvTI9+jUXh3sIt8Ehw+bBVZad0lyTvHTe1tj9xVVFRXgIBA5PSoW6sNnR\nTA+rBbFzPpBfZi2JA9s3++bBIlxBDg4/MmbX/+9xZESIWnoi6FCuvdfpiUdm\nrGyXu7gfsoLnIaMf3p+Nui8kciv+uQPuZg57p2Bg2AJVvig9L9+u7ybUsCfO\nsnUR\r\n=IedJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDE4ypqKQDpQ7RhHuCAX6BeHt1oixYddan18VjHTVHlYQIgX/JGrwX3/PmzTcBz0CcXnAjMDY+i1T8ESORl5PDagCI="}]},"_npmUser":{"name":"conorpai","email":"baiguangnan@163.com"},"directories":{},"maintainers":[{"name":"conorpai","email":"baiguangnan@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tilestrata-blend_0.3.6_1637809926186_0.444186554967823"},"_hasShrinkwrap":false},"0.3.7":{"name":"@conorpai/tilestrata-blend","version":"0.3.7","description":"A TileStrata plugin for blending-together multiple layers.","author":{"name":"Brian Reavis","email":"brian@naturalatlas.com"},"license":"Apache License, v2.0","main":"index.js","scripts":{"test":"mocha -R tap"},"repository":{"type":"git","url":"git+https://github.com/naturalatlas/tilestrata-blend.git"},"keywords":["tilestrata","tilestrata-plugin","tilestrata-provider","blend","composite"],"bugs":{"url":"https://github.com/naturalatlas/tilestrata-blend/issues"},"homepage":"https://github.com/naturalatlas/tilestrata-blend","dependencies":{"async":"~1.4.2","fs-extra":"~0.24.0","lodash":"~3.10.1","tilestrata-dependency":"~0.4.1"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3"},"peerDependencies":{"tilestrata":"*","mapnik":"*"},"publishConfig":{"access":"public"},"gitHead":"478f20e8c48479a9ec1d25962384f0f3efbf119b","_id":"@conorpai/tilestrata-blend@0.3.7","_nodeVersion":"14.18.2","_npmVersion":"6.14.15","dist":{"integrity":"sha512-BQPCz2tTmsHwAoPmZsyJQvtNulfIIB06Hmcmz/f9c1pdCH2jCSIHeBptAz4TNE5nhPrWHQL6gxOOJ2ez45scLw==","shasum":"2cceeea1677e298a2f7d9d094df38cd7e433fb48","tarball":"https://registry.npmjs.org/@conorpai/tilestrata-blend/-/tilestrata-blend-0.3.7.tgz","fileCount":13,"unpackedSize":70644,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzqujCRA9TVsSAnZWagAAJuoQAJ+Wm6sk0objpwz5ksbT\n3ANWd3y6X1FxZ1AUBxi6SdJS/QRghwl4EyjOfixjKgyXsgzGJ58l2KNE0GwB\nudObKY/xeH5jpfYnsYw899FTFAoFUP/mBT1KhgFT42Tb5UpIEcTPp38xzXRH\nrCyGN7K7fqy4340yir3GcL0610wXi4A0i4lr8pADyMVInSEx9liG8Q5UfJFp\nlc6n+81/wTkPQTDoxdpen02iHJDrzp1YugXav5ieOYLFwh4q2Arf7lLpOZjg\nwRkMXfEak5/rfV/Ln7iVkVWpfFxw6D84mOFtbZPmTKSDeffe7q81MhyUQhaM\nsyo2oEQ9akE54vaWwTVmDATAJMvBmZBHgcQLx95ZUHI9UA+BSsP68tSfTTAX\nqFlpy9Htv2pAlmxFQYyNtngGAi12CgNHsNlUqpFuGFKYr/IxGr2LNHsi7qHt\nvrVl2Bgi79sYFHWwvURLkm+VBsoy+qpR83sp3YDmkja/CtEUj9YbY5O5F8hh\nBq7JgoKbSErPZeDIcHry09UybVJYuBOi6bEtJ06CA9ycHm7YMcP+18z+y/3H\ndH+l0G7qEhVE7DgUqhwHU6s2iCewNMnE2JIVQEPBkIws0AJLDWsAsQi3Kyqr\nhIFm8PIqyJpC7/oHHIajKaQBRVo+C9V0O+ZQ3PmUAVzv7aSVvLxpceEmXL3G\nlmCx\r\n=YlLi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6gK7x87zuUbQgRH1nQ+IcNLKzTubmX55MGoj1xhUnjAiEAhmiYjPjMb/iIZQ2Bl37k9Jxm72iwyGAmuQ40Mb3xKVc="}]},"_npmUser":{"name":"conorpai","email":"baiguangnan@163.com"},"directories":{},"maintainers":[{"name":"conorpai","email":"baiguangnan@163.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tilestrata-blend_0.3.7_1640934307067_0.7504276831671515"},"_hasShrinkwrap":false}},"time":{"created":"2020-06-30T07:11:10.639Z","0.3.5":"2020-06-30T07:11:10.859Z","modified":"2022-04-05T00:57:46.052Z","0.3.6":"2021-11-25T03:12:06.376Z","0.3.7":"2021-12-31T07:05:07.248Z"},"maintainers":[{"name":"conorpai","email":"baiguangnan@163.com"}],"description":"A TileStrata plugin for blending-together multiple layers.","homepage":"https://github.com/naturalatlas/tilestrata-blend","keywords":["tilestrata","tilestrata-plugin","tilestrata-provider","blend","composite"],"repository":{"type":"git","url":"git+https://github.com/naturalatlas/tilestrata-blend.git"},"author":{"name":"Brian Reavis","email":"brian@naturalatlas.com"},"bugs":{"url":"https://github.com/naturalatlas/tilestrata-blend/issues"},"license":"Apache License, v2.0","readme":"# tilestrata-blend\n[![NPM version](http://img.shields.io/npm/v/tilestrata-blend.svg?style=flat)](https://www.npmjs.org/package/tilestrata-blend)\n[![Build Status](https://travis-ci.org/naturalatlas/tilestrata-blend.svg)](https://travis-ci.org/naturalatlas/tilestrata-blend)\n[![Coverage Status](http://img.shields.io/coveralls/naturalatlas/tilestrata-blend/master.svg?style=flat)](https://coveralls.io/r/naturalatlas/tilestrata-blend)\n\nA [TileStrata](https://github.com/naturalatlas/tilestrata) plugin for blending multiple tiles into a single PNG image. It supports variable opacity and blending modes, and image filters. To use this plugin, you must have [mapnik](https://www.npmjs.com/package/mapnik) in your dependency tree.\n\n```sh\n$ npm install tilestrata-blend --save\n```\n\n### Sample Usage\n\n```js\nvar blend = require('tilestrata-blend');\n\n// simple\nserver.layer('mylayer').route('combined.png')\n    .use(blend([\n        ['satellite','t.png'],\n        ['basemap','roads.png'],\n        ['basemap','poi.png']\n    ], {\n        matte: 'ffffff'\n    }));\n\n// with blending modes\nserver.layer('mylayer').route('combined.png')\n    .use(blend([\n        ['satellite','t.png'],\n        ['basemap','roads.png'],\n        ['basemap','hillshade.png',{\n            opacity: 0.5,\n            comp_op: 'multiply',\n            image_filters: 'agg-stack-blur(10,10)'\n        }],\n        ['basemap','poi.png']\n    ], {\n        matte: 'ffffff'\n    }));\n```\n\n## Contributing\n\nBefore submitting pull requests, please update the [tests](test) and make sure they all pass.\n\n```sh\n$ npm test\n```\n\n## License\n\nCopyright &copy; 2015-2016 [Natural Atlas, Inc.](https://github.com/naturalatlas) & [Contributors](https://github.com/naturalatlas/tilestrata-blend/graphs/contributors)\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n","readmeFilename":"README.md"}