New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@turf/within

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/within - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

14

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

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

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

@@ -24,14 +24,14 @@ "keywords": [

"bugs": {
"url": "https://github.com/Turfjs/turf-within/issues"
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf-within",
"homepage": "https://github.com/Turfjs/turf",
"devDependencies": {
"benchmark": "^1.0.0",
"tape": "^3.5.0",
"@turf/helpers": "^3.0.15"
"@turf/helpers": "^3.0.16"
},
"dependencies": {
"@turf/inside": "^3.0.15",
"@turf/helpers": "^3.0.15"
"@turf/inside": "^3.0.16",
"@turf/helpers": "^3.0.16"
}
}

@@ -1,11 +0,11 @@

# turf-within
# @turf/within
# within
Takes a set of [points](Point) and a set of [polygons](Polygon) and returns the points that fall within the polygons.
Takes a set of [points](http://geojson.org/geojson-spec.html#point) and a set of [polygons](http://geojson.org/geojson-spec.html#polygon) and returns the points that fall within the polygons.
**Parameters**
- `points` **FeatureCollection<Point>** input points
- `polygons` **FeatureCollection<Polygon>** input polygons
- `points` **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** input points
- `polygons` **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** input polygons

@@ -87,3 +87,3 @@ **Examples**

Returns **FeatureCollection<Point>** points that land within at least one polygon
Returns **[FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** points that land within at least one polygon

@@ -102,3 +102,3 @@ ---

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

@@ -109,3 +109,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