{"_id":"@turf/point-to-polygon-distance","_rev":"9-fd37777b69337ce3558b6afd94aa4266","name":"@turf/point-to-polygon-distance","dist-tags":{"latest":"7.4.0"},"versions":{"7.2.0":{"name":"@turf/point-to-polygon-distance","version":"7.2.0","keywords":["turf","gis","point","polygon","distance"],"author":"Turf Authors","license":"MIT","_id":"@turf/point-to-polygon-distance@7.2.0","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":["Marc <@pachacamac>"],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"27ac0e43c85808f58ccb0764cf65d1d066146146","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.2.0.tgz","fileCount":9,"integrity":"sha512-w+WYuINgTiFjoZemQwOaQSje/8Kq+uqJOynvx7+gleQPHyWQ3VtTodtV4LwzVzXz8Sf7Mngx1Jcp2SNai5CJYA==","signatures":[{"sig":"MEQCIH/vRNeIkVY4Uh1L+q9Mz/+kpHfaEwT/7DD65L7KJzqMAiAei8VEeE6zoLCHwvUBesm9ORUE0GjoJTQts1N2TVLk8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22455},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"7b0f0374c4668cd569f8904c71e2ae7d941be867","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"npm-run-all --npm-path npm test:*","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/8.1.9/node@v18.20.5+x64 (linux)","description":"turf point-to-polygon-distance module","directories":{},"sideEffects":false,"_nodeVersion":"18.20.5","dependencies":{"tslib":"^2.8.1","@turf/meta":"^7.2.0","@turf/helpers":"^7.2.0","@types/geojson":"^7946.0.10","@turf/invariant":"^7.2.0","@turf/polygon-to-line":"^7.2.0","@turf/point-to-line-distance":"^7.2.0","@turf/boolean-point-in-polygon":"^7.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","tape":"^5.9.0","tsup":"^8.3.5","benchmark":"^2.1.4","typescript":"^5.5.4","@types/tape":"^4.13.4","npm-run-all":"^4.1.5","load-json-file":"^7.0.1","write-json-file":"^5.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.2.0_1735448371011_0.20633448367058382","host":"s3://npm-registry-packages-npm-production"}},"7.3.0":{"name":"@turf/point-to-polygon-distance","version":"7.3.0","keywords":["turf","gis","point","polygon","distance"],"author":"Turf Authors","license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.0","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":["Marc <@pachacamac>"],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"0a41042d881a7b3143caa924a14b98cdfa2a14d8","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.0.tgz","fileCount":9,"integrity":"sha512-hhb4xIBuyE0PDHJH8MX+bHVYIWK21qliM51vkBuvbRf6ktpcwnj+ZtpPzkK+M2VJwyIhouNdcza4K5VfmK3mtA==","signatures":[{"sig":"MEUCIEgbMIToVO48NFyTJhw7TTKzjIOrzUA34R0wPUaMNg4KAiEAvQSrpk8yk+H6bZQsOl8WRLW/8U6BsQUkkDr+W+zHJrU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22796},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"9f58a103e8f9a587ab640307ed03ba5233913ddd","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"npm-run-all --npm-path npm test:*","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/8.2.2/node@v20.19.5+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.0","@turf/helpers":"7.3.0","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.0","@turf/polygon-to-line":"7.3.0","@turf/point-to-line-distance":"7.3.0","@turf/boolean-point-in-polygon":"7.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","npm-run-all":"^4.1.5","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.0_1763371548680_0.6911912505208915","host":"s3://npm-registry-packages-npm-production"}},"7.3.1":{"name":"@turf/point-to-polygon-distance","version":"7.3.1","keywords":["turf","gis","point","polygon","distance"],"author":"Turf Authors","license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.1","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":["Marc <@pachacamac>"],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"3edab10d9ace544589f3c7e469305a921f3394e3","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.1.tgz","fileCount":9,"integrity":"sha512-A2hTQjMKO2VEMdgOariICLCjt0BDc1wAQ7Mzqc4vFuol1/GlAed4JqyLg1zXuOVlZcojvXDk/XRuZwXDlRJkBA==","signatures":[{"sig":"MEUCIBWTzQ4jJi3/8b9n0y1YfYIoDrLKAEDxSXpwRdKvApMoAiEAg8p2qaJ435zdxqrhRpT8JxCkf/3wz6pb3ncRlxnWh+4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22752},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"b7f1b4eafb760431e03955499d8eac9489438219","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"pnpm run /test:.*/","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/8.2.2/node@v20.19.5+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.1","@turf/helpers":"7.3.1","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.1","@turf/polygon-to-line":"7.3.1","@turf/point-to-line-distance":"7.3.1","@turf/boolean-point-in-polygon":"7.3.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.1_1764227066834_0.4765861273387755","host":"s3://npm-registry-packages-npm-production"}},"7.3.2":{"name":"@turf/point-to-polygon-distance","version":"7.3.2","keywords":["turf","gis","point","polygon","distance"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.2","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":[{"name":"Marc","email":"@pachacamac"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"d6ca9b84101aa4e334e8af4f995ca5e98e3d3409","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.2.tgz","fileCount":9,"integrity":"sha512-JH/dtlXWGFpMV8Du9jOPZMCydsAlPBqb1mAHpjLhkLuorJ0qhQX7A3qXRxgDfSqerkiWfqGUuL4D5OFu8ou10w==","signatures":[{"sig":"MEYCIQChTXQlOYY4st7Ht8b/yp4wEBNmGsWnCYx9pF+9UVYOXgIhANpbyNNXjbffRiw1uaG/3pX0rSKosXyhwEqExIbDrzAB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":22752},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"099d9915467bacf45d554be4533fa9998c4efc88","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"pnpm run /test:.*/","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v20.19.6+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.2","@turf/helpers":"7.3.2","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.2","@turf/polygon-to-line":"7.3.2","@turf/point-to-line-distance":"7.3.2","@turf/boolean-point-in-polygon":"7.3.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.2_1768358905296_0.5545426259895567","host":"s3://npm-registry-packages-npm-production"}},"7.3.3":{"name":"@turf/point-to-polygon-distance","version":"7.3.3","keywords":["turf","gis","point","polygon","distance"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.3","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":[{"name":"Marc","email":"@pachacamac"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"a068383e836f6fa8407bc785e027fe7b103f7681","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.3.tgz","fileCount":9,"integrity":"sha512-T3OqOyc+ZSNZU1DgodDAbh7LBmdvoXnKyjxkRmYHcYNei1uWVHALDI6c5/8ED3fyt6p7DIdqw3e3brV2jiu/Ug==","signatures":[{"sig":"MEYCIQDVkC9dsu78Qdyf1ABBdRd3vykJFFNApC93GLxM+6LdEQIhANf1uY4KMlJf7LptfQu6In6ypS7mot3Ro2WiUGt6mfKG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@turf%2fpoint-to-polygon-distance@7.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22752},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"fa0e2da8ce02d9a82720eae922f89c9386596e04","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"pnpm run /test:.*/","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:472c718d-d808-4795-b5e6-fe239829e410"}},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v20.20.0+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.3","@turf/helpers":"7.3.3","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.3","@turf/polygon-to-line":"7.3.3","@turf/point-to-line-distance":"7.3.3","@turf/boolean-point-in-polygon":"7.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.3_1769566772037_0.3051259662399226","host":"s3://npm-registry-packages-npm-production"}},"7.3.4":{"name":"@turf/point-to-polygon-distance","version":"7.3.4","keywords":["turf","gis","point","polygon","distance"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.4","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":[{"name":"Marc","email":"@pachacamac"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"101d4ea4041263b0a665bcd66a70f85322452f2e","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.4.tgz","fileCount":9,"integrity":"sha512-VxbkgHyzCkYWSxirqSUqw+lzbYmTf2qFhVZ/T5dprhwyXWcgalpupvgRzmZmjKkgsoJ017vrvCNKZRaCCn+Z7Q==","signatures":[{"sig":"MEQCIF3V7+lw/jPNyiCLQlID1mqgk5GsmMQ7zLPmLWBfAnfnAiAzEh3C6cIkdY9cqcIYUvYUMH6oMbnW1RunaH2ok31Ayg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@turf%2fpoint-to-polygon-distance@7.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22752},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"a0878648b801443f342aae692c60ab95a1da61a9","scripts":{"docs":"tsx ../../scripts/generate-readmes.ts","test":"pnpm run /test:.*/","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:472c718d-d808-4795-b5e6-fe239829e410"}},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v20.20.0+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.4","@turf/helpers":"7.3.4","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.4","@turf/polygon-to-line":"7.3.4","@turf/point-to-line-distance":"7.3.4","@turf/boolean-point-in-polygon":"7.3.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.4_1770516203047_0.30730946986731533","host":"s3://npm-registry-packages-npm-production"}},"7.3.5":{"name":"@turf/point-to-polygon-distance","version":"7.3.5","keywords":["turf","gis","point","polygon","distance"],"author":{"name":"Turf Authors"},"license":"MIT","_id":"@turf/point-to-polygon-distance@7.3.5","maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"},{"name":"smallsaucepan","email":"james@smallsaucepan.com"}],"contributors":[{"name":"Marc","email":"@pachacamac"}],"homepage":"https://github.com/Turfjs/turf","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"dist":{"shasum":"ad6c8a8087a69d61bea2265688b8f84da6706234","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.3.5.tgz","fileCount":9,"integrity":"sha512-SQPhAlfiuCkIIFos/OPCxtt8iR3BlZqGKzKXLYqt6z8iaICaf2SjMyn4Zsr1oFO+Gy2K1rqandR+kuLTIo8Eqg==","signatures":[{"sig":"MEQCIEg/9NuoleIQ58MuZQE5/ay9rXN8JxyTpCBl2GkRhRGNAiAYIePiRpyQyXLejPXNSwE+4gMfxzLNs0heaxVBddLb4w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@turf%2fpoint-to-polygon-distance@7.3.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22699},"main":"dist/cjs/index.cjs","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}},"./package.json":"./package.json"},"funding":"https://opencollective.com/turf","gitHead":"a33ca387405df72847af00cdf689d3209301a2c1","scripts":{"test":"pnpm run /test:.*/","bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test:tape":"tsx test.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:472c718d-d808-4795-b5e6-fe239829e410"}},"repository":{"url":"git://github.com/Turfjs/turf.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v20.20.2+x64 (linux)","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.2","dependencies":{"tslib":"^2.8.1","@turf/meta":"7.3.5","@turf/helpers":"7.3.5","@types/geojson":"^7946.0.10","@turf/invariant":"7.3.5","@turf/polygon-to-line":"7.3.5","@turf/point-to-line-distance":"7.3.5","@turf/boolean-point-in-polygon":"7.3.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.4","tape":"^5.9.0","tsup":"^8.4.0","benchmark":"^2.1.4","typescript":"^5.8.3","@types/tape":"^5.8.1","load-json-file":"^7.0.1","write-json-file":"^6.0.0","@types/benchmark":"^2.1.5"},"_npmOperationalInternal":{"tmp":"tmp/point-to-polygon-distance_7.3.5_1776600426689_0.7468615705577002","host":"s3://npm-registry-packages-npm-production"}},"7.4.0":{"name":"@turf/point-to-polygon-distance","version":"7.4.0","description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","author":{"name":"Turf Authors"},"contributors":[{"name":"Marc","email":"@pachacamac"}],"license":"MIT","bugs":{"url":"https://github.com/Turfjs/turf/issues"},"homepage":"https://github.com/Turfjs/turf","repository":{"type":"git","url":"git://github.com/Turfjs/turf.git"},"funding":"https://opencollective.com/turf","publishConfig":{"access":"public"},"keywords":["turf","gis","point","polygon","distance"],"type":"module","main":"dist/cjs/index.cjs","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","exports":{"./package.json":"./package.json",".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.cts","default":"./dist/cjs/index.cjs"}}},"sideEffects":false,"devDependencies":{"@types/benchmark":"^2.1.5","@types/tape":"^5.8.1","benchmark":"^2.1.4","load-json-file":"^7.0.1","tape":"^5.10.2","tsup":"^8.5.1","tsx":"^4.22.4","typescript":"^5.9.3","write-json-file":"^6.0.0"},"dependencies":{"@types/geojson":"^7946.0.10","tslib":"^2.8.1","@turf/boolean-point-in-polygon":"7.4.0","@turf/meta":"7.4.0","@turf/helpers":"7.4.0","@turf/point-to-line-distance":"7.4.0","@turf/polygon-to-line":"7.4.0","@turf/invariant":"7.4.0"},"scripts":{"bench":"tsx bench.ts","build":"tsup --config ../../tsup.config.ts","test":"pnpm run /test:.*/","test:tape":"tsx test.ts"},"_id":"@turf/point-to-polygon-distance@7.4.0","_integrity":"sha512-37h+HzsMgXMu9MJhfQJk11aJ8ZSK4Db/kccvrIyRFv+SX7bCjFON6P4FC4+4PVACajK9VJ52h+KRufaCZqlxdA==","_resolved":"/tmp/6bd585868b1b5ca555455ae97dafe331/turf-point-to-polygon-distance-7.4.0.tgz","_from":"file:turf-point-to-polygon-distance-7.4.0.tgz","_nodeVersion":"26.5.1","_npmVersion":"11.17.0","dist":{"integrity":"sha512-37h+HzsMgXMu9MJhfQJk11aJ8ZSK4Db/kccvrIyRFv+SX7bCjFON6P4FC4+4PVACajK9VJ52h+KRufaCZqlxdA==","shasum":"5a5d88bec48084433b22e7aac34929a72db5d6c2","tarball":"https://registry.npmjs.org/@turf/point-to-polygon-distance/-/point-to-polygon-distance-7.4.0.tgz","fileCount":9,"unpackedSize":22630,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@turf%2fpoint-to-polygon-distance@7.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDfqJ0jVtORLrPmECcMSyp/f18SrOWohQNLmOPnH8qfMQIgdkoRqHEsxQULaq2aBpcfdng9+AANjTynF64hcoqClqU="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:472c718d-d808-4795-b5e6-fe239829e410"}},"directories":{},"maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/point-to-polygon-distance_7.4.0_1785771199316_0.7820460993526137"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-29T04:59:30.891Z","modified":"2026-08-03T15:33:19.907Z","7.2.0":"2024-12-29T04:59:31.172Z","7.3.0":"2025-11-17T09:25:48.852Z","7.3.1":"2025-11-27T07:04:27.003Z","7.3.2":"2026-01-14T02:48:25.442Z","7.3.3":"2026-01-28T02:19:32.186Z","7.3.4":"2026-02-08T02:03:23.196Z","7.3.5":"2026-04-19T12:07:06.828Z","7.4.0":"2026-08-03T15:33:19.469Z"},"bugs":{"url":"https://github.com/Turfjs/turf/issues"},"author":{"name":"Turf Authors"},"license":"MIT","homepage":"https://github.com/Turfjs/turf","keywords":["turf","gis","point","polygon","distance"],"repository":{"type":"git","url":"git://github.com/Turfjs/turf.git"},"description":"Calculates the distance from a point to the edges of a polygon or multi-polygon.","contributors":[{"name":"Marc","email":"@pachacamac"}],"maintainers":[{"name":"rowanwins","email":"rowanwins@yahoo.com.au"},{"name":"tmcw","email":"tom@macwright.com"},{"name":"morganherlocker","email":"morgan.herlocker@gmail.com"},{"name":"tcql","email":"tim.channell@gmail.com"},{"name":"mdfedderly","email":"mdfedderly@mdfedderly.com"},{"name":"twelch","email":"tim.j.welch@gmail.com"},{"name":"jamesmilneruk","email":"jamesmilner22@hotmail.com"},{"name":"morgan.herlocker","email":"morganherlocker@gmail.com"}],"readme":"# @turf/point-to-polygon-distance\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n## pointToPolygonDistance\n\nCalculates the distance from a point to the edges of a polygon or multi-polygon.\nReturns negative values for points inside the polygon.\nHandles polygons with holes and multi-polygons.\nA hole is treated as the exterior of the polygon.\n\n### Parameters\n\n*   `point` **([Feature][1]<[Point][2]> | [Point][2] | [Position][3])** Input point\n*   `polygonOrMultiPolygon` **([Feature][1]<([Polygon][4] | [MultiPolygon][5])> | [Polygon][4] | [MultiPolygon][5])** Input polygon or multipolygon\n*   `options` **[Object][6]** Optional parameters (optional, default `{}`)\n\n    *   `options.units` **Units** Units of the result e.g. \"kilometers\", \"miles\", \"meters\"\n    *   `options.method` **(`\"geodesic\"` | `\"planar\"`)** Method of the result\n\n<!---->\n\n*   Throws **[Error][7]** If input geometries are invalid\n\nReturns **[number][8]** Distance in meters (negative values for points inside the polygon)\n\n[1]: https://tools.ietf.org/html/rfc7946#section-3.2\n\n[2]: https://tools.ietf.org/html/rfc7946#section-3.1.2\n\n[3]: https://developer.mozilla.org/docs/Web/API/Position\n\n[4]: https://tools.ietf.org/html/rfc7946#section-3.1.6\n\n[5]: https://tools.ietf.org/html/rfc7946#section-3.1.7\n\n[6]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object\n\n[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error\n\n[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number\n\n<!-- This file is automatically generated. Please don't edit it directly. If you find an error, edit the source file of the module in question (likely index.js or index.ts), and re-run \"yarn docs\" from the root of the turf project. -->\n\n---\n\nThis module is part of the [Turfjs project](https://turfjs.org/), an open source module collection dedicated to geographic algorithms. It is maintained in the [Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create PRs and issues.\n\n### Installation\n\nInstall this single module individually:\n\n```sh\n$ npm install @turf/point-to-polygon-distance\n```\n\nOr install the all-encompassing @turf/turf module that includes all modules as functions:\n\n```sh\n$ npm install @turf/turf\n```\n","readmeFilename":"README.md"}