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

@turf/difference

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@turf/difference - npm Package Compare versions

Comparing version 3.0.15 to 3.0.16

10

package.json
{
"name": "@turf/difference",
"version": "3.0.15",
"version": "3.0.16",
"description": "[Turf](http://turfjs.org/) difference module",

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

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

@@ -21,5 +21,5 @@ "keywords": [

"bugs": {
"url": "https://github.com/Turfjs/turf-difference/issues"
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf-difference",
"homepage": "https://github.com/Turfjs/turf",
"devDependencies": {

@@ -32,4 +32,4 @@ "benchmark": "^1.0.0",

"jsts": "1.1.2",
"@turf/helpers": "^3.0.15"
"@turf/helpers": "^3.0.16"
}
}

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

# turf-difference
# @turf/difference
# difference
Finds the difference between two [polygons](Polygon) by clipping the second
Finds the difference between two [polygons](http://geojson.org/geojson-spec.html#polygon) by clipping the second
polygon from the first.

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

- `poly1` **Feature<Polygon>** input Polygon feaure
- `poly2` **Feature<Polygon>** Polygon feature to difference from `poly1`
- `poly1` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** input Polygon feaure
- `poly2` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** Polygon feature to difference from `poly1`

@@ -63,3 +63,3 @@ **Examples**

Returns **Feature<Polygon>** a Polygon feature showing the area of `poly1` excluding the area of `poly2`
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Polygon](http://geojson.org/geojson-spec.html#polygon)>** a Polygon feature showing the area of `poly1` excluding the area of `poly2`

@@ -78,3 +78,3 @@ ---

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

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