{"_id":"polyclip-ts","_rev":"10-dbdbb96883fd82f028ee547ea6f116bb","name":"polyclip-ts","dist-tags":{"latest":"0.16.8"},"versions":{"0.16.0":{"name":"polyclip-ts","version":"0.16.0","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.0","maintainers":[{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"}],"homepage":"https://github.com/SBanksX/polyclip-ts#readme","bugs":{"url":"https://github.com/SBanksX/polyclip-ts/issues"},"dist":{"shasum":"f80a5ba304386eb57c3c31c45321fb068a71a00d","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.0.tgz","fileCount":50,"integrity":"sha512-/tY0ORcONJev61AkGIjCosO+obMh/E2Ze+Ukly3tFwHXYgx/7jB6bgOmJquZxVh4BlNnC6a19U9UYod1GJ71dA==","signatures":[{"sig":"MEYCIQClpvQin6iar45hsLVzF/t75tD9DxRty4dDjQIobEWrTQIhAI9wNkbphTlEhw1ypKTlxdLIsOBFtc5//DYhxTuqhmM6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSGd6ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrdQg//Wg3jGlqMh2bgHmo4iTm/nPNBUaX/PK/ah6OjB1jSmaeM7O8Y\r\n+eIdZiSkXkhp2W9OReCg1HFgoMcIF+udRMxZTjt25crVJ3dIZ4HEzlnCWUBX\r\nqHij0MRl5AZhx8JcrP/kk33lVdkXq/X5ZM4eAaBo5d6uFwEGRrbn90ERvhTT\r\nqZTcyLNq0gQJ5Tk1E1WG8oA/5WBaXB6AsO/YrGVMhvhpkwBPtIST6mJmyjoB\r\niMHEGaSQvzh6yseinP08LMeD8R7k8feKQ+ZIlutPB0sJ2ZXOpkYKTb/QyPZ/\r\nPcdmkCIAFV2Wcct9CLyz2qKXgjsk2Z9NqC/l5+GUu6fNpBzj/O9e1wS3m7uw\r\nfBRV6UUD8Ho/C9ZxprvblsC3XDsxeWVCeaSyUG6wNTJCJBvvACbn4+ayWmlb\r\nUWpUDor+UqSKCpY0SmTbErrrpEvXkAUS24JWzo1lmy7qWRoQzwFAYs/knCrj\r\nXZG2TB1LBLFyfW/a/hmzzl2Vwc7PCh0gbHjLWyQUgo/3lJfMbIaax1Rs3yCD\r\nUo99B8RBgtXjCjpww39Dd88GC7uWDn3UbwE6u2w82o8pCb/H5qy3TlOy8OLe\r\ndEkXvJ38X++hRWWriiyRH26uLHIu+aBq9RZvsiid+ew/ZmSDh2cPvya2dH+x\r\nzWB6cRgsZ13EblUINiCjdbhn0Y/9a26+y10=\r\n=SeZ9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.js","default":"./dist/index.js"},"gitHead":"e81b8e92d46293e0edfea1080950d1911a999779","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","test:jest":"jest","test:lint":"eslint src","prepublishOnly":"npm run test && npm run build","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"},"jsdelivr":"dist/polyclip-ts.umd.js","repository":{"url":"git+https://github.com/SBanksX/polyclip-ts.git","type":"git"},"_npmVersion":"8.15.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","rollup-plugin-terser":"7","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.0_1665689466192_0.9345473110329445","host":"s3://npm-registry-packages"}},"0.16.1":{"name":"polyclip-ts","version":"0.16.1","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.1","maintainers":[{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"}],"homepage":"https://github.com/SBanksX/polyclip-ts#readme","bugs":{"url":"https://github.com/SBanksX/polyclip-ts/issues"},"dist":{"shasum":"ac1dfe8db758fe4ee90a2f0c18e07e02201d6864","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.1.tgz","fileCount":50,"integrity":"sha512-hkX/ToFCtLnSyloeM7cj/dk+u2ljOGYW0AzmNKW1gt/CcwC/jQKBGNcF7kekBG9TzTznh9yJml8fmNBZy5YM9w==","signatures":[{"sig":"MEYCIQCbE2dzxQAI2JKjpQhLqNZ7U98ggtT5XSFpdSmgjmdlTQIhALv2TMyl69D/ZxXzxC1Q+Nl+TA4Rs566IypYRjzXieFl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSITmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp9HA/9HgpLW8UzI89y59ouOOycTmKWWPqKp27uAocr8IMidX+5jBzH\r\nw8LBkRcVIr0z4aWrgnpcyxoWcLjJs+qPxqbTF1VzDpk2FiTtOViL2dlT+pTc\r\nHoMJetQ5KqR4eciuJSXPBI9pRcNqYBBQj/ZKDFtX9ozYgwwhiN4E+OYie1ld\r\n85lkGqFsz+2QLKV3QS6L54qlP3ExpSfHal7cwuLAdR/sIPfFkvpuGCux4eNv\r\nMDnApgR7AuKoiAdKa2k90uqti/aVWQJ4r9qO+ovxJ2Mh3xwindaY19p8/N6j\r\nksuqili/qTmynp/7aFst7WZgDgeAf0FaM4C0Ybbhi7DZxld9gisTgBMtihAU\r\nyTjfCFjRPwjnZMy/6Qan/cX1FplGAA5B89s+WrBxOjIO7ogvShGodM3oxl8w\r\nXBd83mYjY8ZWHLfO00UQCsHAc5MP5fO5WrVmkuJGHee1u2aJdkhgpU8AgemG\r\nmTRZGeI2kD5ezzKQv2eFuB52UczC2IB8losoPtp0YgbfhtjsocBB6feDYrx7\r\nVPq6V1wHjLaRy74PLkyCr/n2rItV2v89yxjokHZ5sOHvj2Z9O9Mc5dYhsJs5\r\nuYQi6QRBRfNY0YYt05AP2CI+RN1rW1VSfIweOP4J0PA21wcRHEeBD9MgNfJa\r\nKK6ZHfPVxT4LPYccsIgzzy8nZC27u2AtrqE=\r\n=TcBT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.js","default":"./dist/index.js"},"gitHead":"915acf3f604bdbf00bb2d1d91158fa893551e9df","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A dist","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags","prepublishOnly":"npm run test && npm run build","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"},"jsdelivr":"dist/polyclip-ts.umd.js","repository":{"url":"git+https://github.com/SBanksX/polyclip-ts.git","type":"git"},"_npmVersion":"8.15.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","rollup-plugin-terser":"7","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.1_1665696998510_0.5763322381613147","host":"s3://npm-registry-packages"}},"0.16.2":{"name":"polyclip-ts","version":"0.16.2","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.2","maintainers":[{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"}],"homepage":"https://github.com/SBanksX/polyclip-ts#readme","bugs":{"url":"https://github.com/SBanksX/polyclip-ts/issues"},"dist":{"shasum":"0b1274e0b9f8331286ff79f266e6f6b0fec44b73","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.2.tgz","fileCount":50,"integrity":"sha512-Nixz21flaVUhIw8gvThbKHW22xjjkqcocF1zT0B1MOJ+AvJVUtZyg4FKy3G+Ant73VVxpTHPc3AdxiE+YCKVfQ==","signatures":[{"sig":"MEUCIQDY+OK18RNsWvHn8cXd1EnhR1GgkWKl8XpOem2ONYHflgIgdUFGtUSarqknRdLY8VdAxNM141huD933Mb5kgnonP+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":339025,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjSJcJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoeFA/+IrKttuOZamQciiOQqVgRvLMcVTL5BgrsGQ1Xv/Dipm+9Z41E\r\nylRCTJciLXwSx03FfnJrh+6C9quuW/VUXRnGTvJNp5r+dsj682NHfr7pDCPm\r\nvpcUOXuGIVGxTBYEjVe2SS7ap4fcwT2Po1OQPKP1cJJf+SP6tPkB5phQnPqs\r\nUoS9astNiTvnJpZaJwgETUfA/IaBeAN0lbosIOQuO2g18BkeWTcZToNF0JiT\r\nkzlAda9CGbnz0syyaLS4quDi+8WR1WebApBCadKsvFEFUJK51P8q3vXm3Sq5\r\ndgOxkLMufJdAdGMWRU/fbde+bfqG/Y9KUxO86AqaGJzpXQMga7pb6lw/HVmt\r\nAtm6xa+hXccStaRJKcJAqeWDD6OXwyrHwoNnVPEN/ECrfzTr2BY2SWRNWmdi\r\nW9YPpNnj8SC8ef/JrWgRwf0aDgVB5yRPlS43vP82gkUmwxv8QdNEFGJSqdM8\r\nxGw7NEnzFDm800sNy2tSEEtUm0X8FY2dKzN3Me5SmFXldp6XBGYz1+ntkNKe\r\nTFETgpXLwA57Pl+J98xxw/zaugcNfTZi6q6WNDS5kX96qlQdK15fcMXtBMI5\r\nV2vz14XKUwh88z4ODNILqYzyFZD+waL4iD+lxOjc4oY9YppvHsHZ1JWCIXRa\r\nCSI35Y7tEYawJ2nUtwPtQXzjn8vL8qj2ga8=\r\n=sTMq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","default":"./dist/index.js"},"gitHead":"c110b7a4ed6c5db5271e626318afd1cedde31c55","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A dist","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"sbanksx","email":"luiz.barboza2002@gmail.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/SBanksX/polyclip-ts.git","type":"git"},"_npmVersion":"8.15.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"18.7.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","rollup-plugin-terser":"7","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.2_1665701641352_0.8582406986311375","host":"s3://npm-registry-packages"}},"0.16.3":{"name":"polyclip-ts","version":"0.16.3","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.3","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"dist":{"shasum":"fcba6ad9cbf9ce0e859898e12d77783bab4c67a6","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.3.tgz","fileCount":35,"integrity":"sha512-qvmV7qhaP5P+OnFqBe+gQDPCQx/PuhfITQOIX9cEtgiyLRfgrXrCLi3SOg71UEQCeuVDaMYJ/08xvFTNneYxiA==","signatures":[{"sig":"MEUCIQD+jbSHqqFyAqRZubBMFAXv2zswO2JiuzCLgZelnM0fuwIgOj1KrzvJJEUs14IEqXoYhns70zrlFEjmp6CmySUycHM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":281621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkSh8DACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpIiA//du7ATeFQvmxb8EcBP58D+Ot4fQQtcVKC3jQYefaAL4EdlzAX\r\nSJA6HCoZcnNIQJDGXhCqH5yvLf4rUhOwyVr7w7ClhVvKqhmNFNRqqYIiSVup\r\nzCDYaD+zceDSldQola1z1+NZ0/NVnWl9BJXPdmM8VsUg9s2yWctT8iINlTWn\r\nJ8TUsLRXmy/Xn6Va3uhF07O7ofGV0lf5/r1jSRQU3he1T/hhmrZljoUVajen\r\ni3YvXVkn26jvJMP7LoMfTVi21Y4AyubmzX8yxXxlvSwrnWk7O6hEL7z76hGi\r\nVuouRwnRv5i/R6BVGeeRARWyD7m3RyEOzw5ZC+HSKNtXnorS2x74XBkA5DnH\r\nddvZRygzVFBy846Mi1E526bc5JQEG3Dr2EvSHawrnNutBU0mDllNrpSSOK9M\r\nFKdbZ1aoBzJcsK4uwR7LTrWDfFuO35GtM3NIouJCmLxTDdKyQRMA/NoiiXq+\r\nKH+ID76eoDLRk9L70y2mdbq5p4uQPR9Tncg42a0UunB8ptzQWNBS53PCsDOH\r\nyrnKIxAHaXhaxDVQgHqmUAX4zskmNPkJt810Xq4fvMdP7m8AzbSETxcwN3Sh\r\nDIRFT6AjEaHiL5Yk0jgwR0NXQQHTKt8oTPeRv86y9Bc17tOTs6SVua03PgsR\r\nrR/tjd8XlYtm8pyCNyS1v0LuMq52UheEUdU=\r\n=5Km/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","default":"./dist/index.js"},"gitHead":"461133372a531d7775c5648f0fb8998ad968a1f7","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/luizbarboza/polyclip-ts.git","type":"git"},"_npmVersion":"8.19.3","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"19.1.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","@rollup/plugin-terser":"^0.4.1","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.3_1682579203110_0.6408279407610609","host":"s3://npm-registry-packages"}},"0.16.4":{"name":"polyclip-ts","version":"0.16.4","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.4","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"dist":{"shasum":"eaaa14aa46b36b63fccb70f2fff33cce036d5021","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.4.tgz","fileCount":3,"integrity":"sha512-jH6S0NTLBv8Ha1GRivLgKNpN+LloRztfEgresXYzqqt/0cQu1Gat8ieYF7AXHHacEY06MDTtbte4ZgvjJdvWpA==","signatures":[{"sig":"MEUCIQCVpQ6nkhX4afrnBEZr9xmRITjjM5a7U3FhKkppGCywvQIgBqY14ynAwSD/zUIZlDjRPPiFtUvm00d+vlDMWEx0ppw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7294},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","default":"./dist/index.js"},"gitHead":"18512d8d24e21f293f00a5ee68f28d38a727c51b","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/luizbarboza/polyclip-ts.git","type":"git"},"_npmVersion":"9.2.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"18.13.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","@rollup/plugin-terser":"^0.4.1","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.4_1708731028576_0.651428135885423","host":"s3://npm-registry-packages"}},"0.16.5":{"name":"polyclip-ts","version":"0.16.5","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.5","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"dist":{"shasum":"053e073e640449f1b1a1d88471f8758779d0b030","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.5.tgz","fileCount":35,"integrity":"sha512-ZchnG0zGZReHgEo3EYzEUi6UmfQFFzNnj6AFU+gBm+IJJ4qG9gL4CwjtCV6oi/PittUPpJLiLJxcn/AgrCBO+g==","signatures":[{"sig":"MEUCIDEF7x/ZyU6+IspBrlnekuq97lmXOqwQoGECfngmfUbjAiEA2/n+zzXab6amiXQ0hjal0kUW7ygkjJiE7odT2DOoV30=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279097},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","default":"./dist/index.js"},"gitHead":"1454e7b9030c0101529ad794e9c9e9c006e9a73f","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/luizbarboza/polyclip-ts.git","type":"git"},"_npmVersion":"9.2.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"18.13.0","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","@rollup/plugin-terser":"^0.4.1","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.5_1708783733343_0.9807097639752682","host":"s3://npm-registry-packages"}},"0.16.6":{"name":"polyclip-ts","version":"0.16.6","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.6","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"dist":{"shasum":"45b3ac8291db6a6794158ce9a8fc2881cef41c0d","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.6.tgz","fileCount":35,"integrity":"sha512-/s1uKSup6qttXN4EaeRkE2SUkcwm72ZYMhHZH3MkJnBzgTGx1RHruawg15DBefwXqXA5f2Pz/HTXpRLHOjAEIw==","signatures":[{"sig":"MEYCIQC0Dupt8ZyPGZHB2xi1fOvFK43J+kHm+JvBYzIdp90jygIhAJJSx4ZUh1SuvR80CAd7Y+EFomxhliR5mnMjNGNsg6tL","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279140},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","default":"./dist/index.js"},"gitHead":"933ade5ec80403c48110575474685e1089736c8f","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/luizbarboza/polyclip-ts.git","type":"git"},"_npmVersion":"10.5.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","@rollup/plugin-terser":"^0.4.1","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.6_1728999340930_0.1761520032270607","host":"s3://npm-registry-packages"}},"0.16.7":{"name":"polyclip-ts","version":"0.16.7","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","_id":"polyclip-ts@0.16.7","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"dist":{"shasum":"8a0436d1fa01363e45d8030a252ddafad1bfdb2a","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.7.tgz","fileCount":35,"integrity":"sha512-Rv5Wzm8OUG+IYlTqPJw6WmvBWbmZJi8rERTmHRAn8Qqhs+RonIzrJIZQIRMDi+kitaNtnmy8AB+SWT5rqpuJqg==","signatures":[{"sig":"MEUCIBGss1K6bzBhqdWHlAktOZlSv1PXwuiwUWMgOP0PN+cEAiEAxIkG2ZKxE2zz/2DHu7aDAb5FS1e2DIRNCD48pJ55GBY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":279235},"main":"dist/index.js","type":"module","types":"types/index.d.ts","unpkg":"dist/polyclip-ts.umd.min.js","module":"dist/index.js","exports":{"umd":"./dist/polyclip-ts.umd.min.js","import":{"types":"./types/index.d.ts","default":"./dist/index.js"},"default":"./dist/index.js"},"gitHead":"da7480b18cd31d070b163ab966775df78ae15cd0","scripts":{"test":"npm run test:typecheck && npm run test:lint && npm run test:jest","bench":"node bench/bench.js","build":"rollup -c && tsc --declaration true --declarationDir types","version":"npm run build && git add -A","test:jest":"jest","test:lint":"eslint src","preversion":"npm run test","postversion":"git push && git push --tags && npm publish","test:typecheck":"tsc --noEmit"},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"jsdelivr":"dist/polyclip-ts.umd.min.js","repository":{"url":"git+https://github.com/luizbarboza/polyclip-ts.git","type":"git"},"_npmVersion":"10.5.0","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","directories":{},"_nodeVersion":"20.12.2","dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^27.5.1","eslint":"^8.16.0","benchmark":"^2.1.4","@turf/union":"^5.1.5","@types/node":"^18.8.5","@turf/intersect":"^5.1.6","@turf/difference":"^5.1.5","@babel/preset-env":"^7.19.0","@rollup/plugin-json":"4","@rollup/plugin-terser":"^0.4.1","eslint-config-prettier":"^8.5.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-typescript":"^8.5.0","@typescript-eslint/parser":"^5.25.0","martinez-polygon-clipping":"^0.7.1","@rollup/plugin-node-resolve":"13","@typescript-eslint/eslint-plugin":"^5.25.0"},"_npmOperationalInternal":{"tmp":"tmp/polyclip-ts_0.16.7_1732413262218_0.8823081628169058","host":"s3://npm-registry-packages"}},"0.16.8":{"name":"polyclip-ts","description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","version":"0.16.8","author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","type":"module","main":"dist/esm/index.js","module":"dist/esm/index.js","jsdelivr":"dist/polyclip-ts.umd.min.js","unpkg":"dist/polyclip-ts.umd.min.js","types":"dist/esm/index.d.ts","exports":{"umd":"./dist/polyclip-ts.umd.min.js","import":"./dist/esm/index.js","require":"./dist/cjs/index.cjs","default":"./dist/cjs/index.cjs"},"keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"repository":{"type":"git","url":"git+https://github.com/luizbarboza/polyclip-ts.git"},"scripts":{"preversion":"npm run test","version":"npm run build && git add -A","postversion":"git push && git push --tags && npm publish","build":"rollup -c && tsup","test":"npm run test:typecheck && npm run test:lint && npm run test:jest","test:lint":"eslint src","test:typecheck":"tsc --noEmit","test:jest":"jest","bench":"node bench/bench.js"},"devDependencies":{"@babel/preset-env":"^7.19.0","@babel/preset-typescript":"^7.18.6","@rollup/plugin-json":"4","@rollup/plugin-node-resolve":"13","@rollup/plugin-terser":"^0.4.1","@rollup/plugin-typescript":"^8.5.0","@types/node":"^18.8.5","@typescript-eslint/eslint-plugin":"^5.25.0","@typescript-eslint/parser":"^5.25.0","benchmark":"^2.1.4","eslint":"^8.16.0","eslint-config-prettier":"^8.5.0","jest":"^27.5.1","jsts":"^2.12.1","martinez-polygon-clipping":"^0.7.1","tsup":"^8.3.5"},"dependencies":{"bignumber.js":"^9.1.0","splaytree-ts":"^1.0.2"},"_id":"polyclip-ts@0.16.8","gitHead":"e34774a63042aaf11dc0293885b37d720e21cbc6","bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"homepage":"https://github.com/luizbarboza/polyclip-ts#readme","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-JPtKbDRuPEuAjuTdhR62Gph7Is2BS1Szx69CFOO3g71lpJDFo78k4tFyi+qFOMVPePEzdSKkpGU3NBXPHHjvKQ==","shasum":"503160d05e9d56380533aab0bc2dae835d6da5f9","tarball":"https://registry.npmjs.org/polyclip-ts/-/polyclip-ts-0.16.8.tgz","fileCount":11,"unpackedSize":462878,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjwOuV4FrIOn0oAEWtXw8kgAmIJiBdSvL/t6zMDu8+XgIhAODtphcjxvBiU3dXoUFWLCUzARSVwSyxNTZjsxo8Q7J2"}]},"_npmUser":{"name":"luizbarboza","email":"contact@luizbarboza.com"},"directories":{},"maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/polyclip-ts_0.16.8_1734402759786_0.03524631378557741"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-13T19:31:06.191Z","modified":"2024-12-17T02:32:40.182Z","0.16.0":"2022-10-13T19:31:06.363Z","0.16.1":"2022-10-13T21:36:38.784Z","0.16.2":"2022-10-13T22:54:01.575Z","0.16.3":"2023-04-27T07:06:43.278Z","0.16.4":"2024-02-23T23:30:28.712Z","0.16.5":"2024-02-24T14:08:53.582Z","0.16.6":"2024-10-15T13:35:41.101Z","0.16.7":"2024-11-24T01:54:22.406Z","0.16.8":"2024-12-17T02:32:40.000Z"},"bugs":{"url":"https://github.com/luizbarboza/polyclip-ts/issues"},"author":{"name":"Luiz Felipe Machado Barboza"},"license":"MIT","homepage":"https://github.com/luizbarboza/polyclip-ts#readme","keywords":["polygon","clipping","boolean","intersection","union","difference","xor","geometry","martinez"],"repository":{"type":"git","url":"git+https://github.com/luizbarboza/polyclip-ts.git"},"description":"Apply boolean polygon clipping operations (intersection, union, difference, xor) to your Polygons & MultiPolygons.","maintainers":[{"name":"luizbarboza","email":"contact@luizbarboza.com"}],"readme":"# polyclip-ts\n\nApply boolean polygon clipping operations (`intersection`, `union`, `difference`, `xor`) to your Polygons & MultiPolygons.\n\n## Installing\n\nIf you use npm, `npm install polyclip-ts`. You can also download the [latest release on GitHub](https://github.com/luizbarboza/polyclip-ts/tags). For vanilla HTML in modern browsers, import polyclip-ts from Skypack:\n\n```html\n<script type=\"module\">\nimport * as polyclip from \"https://cdn.skypack.dev/polyclip-ts\";\n\npolyclip.intersection(…)\n</script>\n```\n\nFor legacy environments, you can load polyclip-ts’s UMD bundle from an npm-based CDN such as jsDelivr; a polyclip global is exported:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/polyclip-ts/dist/polyclip-ts.umd.min.js\"></script>\n<script>\npolyclip.intersection(…)\n</script>\n```\n\n## Quickstart\n\n<!-- prettier-ignore-start -->\n```javascript\nimport * as polyclip from \"polyclip-ts\"\n\nconst poly1 = [[[0,0],[2,0],[0,2],[0,0]]]\nconst poly2 = [[[-1,0],[1,0],[0,1],[-1,0]]]\n\npolyclip.union       (poly1, poly2 /* , poly3, ... */)\npolyclip.intersection(poly1, poly2 /* , poly3, ... */)\npolyclip.xor         (poly1, poly2 /* , poly3, ... */)\npolyclip.difference  (poly1, poly2 /* , poly3, ... */)\n```\n<!-- prettier-ignore-end -->\n\n## API\n\n```javascript\n/* All functions take one or more [multi]polygon(s) as input */\n\npolyclip.union       (geom, ...moreGeoms)\npolyclip.intersection(geom, ...moreGeoms)\npolyclip.xor         (geom, ...moreGeoms)\n\n/* The moreGeoms will be subtracted from the geom */\npolyclip.difference  (geom, ...moreGeoms)\n```\n\n### Input\n\nEach positional argument (`geom`) may be either a Polygon or a MultiPolygon. The [GeoJSON spec](https://tools.ietf.org/html/rfc7946#section-3.1) is followed, with the following notes/modifications:\n\n- MultiPolygons may contain touching or overlapping Polygons.\n- rings are not required to be self-closing.\n- rings may contain repeated points, which are ignored.\n- rings may be self-touching and/or self-crossing. Self-crossing rings will be interpreted using the [non-zero rule](https://en.wikipedia.org/wiki/Nonzero-rule).\n- winding order of rings does not matter.\n- inner rings may extend outside their outer ring. The portion of inner rings outside their outer ring is dropped.\n- inner rings may touch or overlap each other.\n\n### Output\n\nFor non-empty results, output will always be a MultiPolygon containing one or more non-overlapping, non-edge-sharing Polygons. The [GeoJSON spec](https://tools.ietf.org/html/rfc7946#section-3.1) is followed, with the following notes/modifications:\n\n- outer rings will be wound counter-clockwise, and inner rings clockwise.\n- inner rings will not extend outside their outer ring.\n- rings will not overlap, nor share an edge with each other.\n- rings will be self-closing.\n- rings will not contain repeated points.\n- rings will not contain superfluous points (intermediate points along a straight line).\n- rings will not be self-touching nor self-crossing.\n- rings _may_ touch each other, but _may not_ cross each other.\n\nIn the event that the result of the operation is the empty set, output will be a MultiPolygon with no Polygons: `[]`.\n\n## Correctness\n\nRun: `npm test`\n\nThe tests are broken up into unit tests and end-to-end tests. The end-to-end tests are organized as GeoJSON files, to make them easy to visualize thanks to [GitHub's helpful rendering of GeoJSON files](https://help.github.com/articles/mapping-geojson-files-on-github/). Browse those tests [here](test/end-to-end).\n\n## Performance\n\nThe Martinez-Rueda-Feito polygon clipping algorithm is used to compute the result in `O((n+k)*log(n))` time, where `n` is the total number of edges in all polygons involved and `k` is the number of intersections between edges.\n\n## Authors\n\n- [Luiz F. M. Barboza](https://github.com/SBanksX)\n- [Mike Fogel](https://github.com/mfogel)\n- [Alexander Milevski](https://github.com/w8r)\n- [Vladimir Ovsyannikov](https://github.com/sh1ng)\n\n## Based on\n\n- [A simple algorithm for Boolean operations on polygons](https://www.sciencedirect.com/science/article/abs/pii/S0965997813000379) by Francisco Martinez, Antonio Jesus Rueda, Francisco Ramon Feito (2009)\n","readmeFilename":"README.md"}