Socket
Socket
Sign inDemoInstall

@turf/boolean-point-in-polygon

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/boolean-point-in-polygon - npm Package Compare versions

Comparing version 5.0.0 to 5.0.4

4

index.d.ts

@@ -6,5 +6,5 @@ import { MultiPolygon, Polygon, Feature, Coord } from '@turf/helpers'

*/
export default function booleanPointInPolygon<T extends Polygon | MultiPolygon>(
export default function booleanPointInPolygon(
point: Coord,
polygon: Feature<T> | T,
polygon: Feature<Polygon | MultiPolygon> | Polygon | MultiPolygon,
options?: {

@@ -11,0 +11,0 @@ ignoreBoundary?: boolean

{
"name": "@turf/boolean-point-in-polygon",
"version": "5.0.0",
"version": "5.0.4",
"description": "turf boolean-point-in-polygon module",

@@ -38,10 +38,10 @@ "main": "main",

"devDependencies": {
"@turf/helpers": "*",
"@std/esm": "*",
"@turf/helpers": "^5.0.4",
"benchmark": "*",
"tape": "*",
"rollup": "*",
"@std/esm": "*"
"tape": "*"
},
"dependencies": {
"@turf/invariant": "5.x"
"@turf/invariant": "^5.0.4"
},

@@ -48,0 +48,0 @@ "@std/esm": {

@@ -1,6 +0,6 @@

# @turf/inside
# @turf/boolean-point-in-polygon
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
## inside
## booleanPointInPolygon

@@ -29,3 +29,3 @@ Takes a [Point](http://geojson.org/geojson-spec.html#point) and a [Polygon](http://geojson.org/geojson-spec.html#polygon) or [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon) and determines if the point resides inside the polygon. The polygon can

turf.inside(pt, poly);
turf.booleanPointInPolygon(pt, poly);
//= true

@@ -52,3 +52,3 @@ ```

```sh
$ npm install @turf/inside
$ npm install @turf/boolean-point-in-polygon
```

@@ -55,0 +55,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc