Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@turf/inside

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/inside - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

12

package.json
{
"name": "@turf/inside",
"version": "3.0.15",
"version": "3.0.16",
"description": "turf inside module",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/Turfjs/turf-inside.git"
"url": "git://github.com/Turfjs/turf.git"
},

@@ -25,7 +25,7 @@ "keywords": [

"bugs": {
"url": "https://github.com/Turfjs/turf-inside/issues"
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf-inside",
"homepage": "https://github.com/Turfjs/turf",
"dependencies": {
"@turf/invariant": "^3.0.15"
"@turf/invariant": "^3.0.16"
},

@@ -35,4 +35,4 @@ "devDependencies": {

"tape": "^3.5.0",
"@turf/helpers": "^3.0.15"
"@turf/helpers": "^3.0.16"
}
}

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

# turf-inside
# @turf/inside
# inside
Takes a [Point](Point) and a [Polygon](Polygon) or [MultiPolygon](MultiPolygon) and determines if the point resides inside the polygon. The polygon can
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
be convex or concave. The function accounts for holes.

@@ -10,4 +10,4 @@

- `point` **Feature<Point>** input point
- `polygon` **Feature<(Polygon | MultiPolygon)>** input polygon or multipolygon
- `point` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** input point
- `polygon` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<([Polygon](http://geojson.org/geojson-spec.html#polygon) \| [MultiPolygon](http://geojson.org/geojson-spec.html#multipolygon))>** input polygon or multipolygon

@@ -80,3 +80,3 @@ **Examples**

```sh
$ npm install turf-inside
$ npm install @turf/inside
```

@@ -87,3 +87,3 @@

```sh
$ npm install turf
$ npm install @turf/turf
```
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