@turf/kinks
Advanced tools
Comparing version 4.5.2 to 4.6.0
21
index.js
@@ -10,16 +10,9 @@ var point = require('@turf/helpers').point; | ||
* @example | ||
* var poly = { | ||
* "type": "Feature", | ||
* "properties": {}, | ||
* "geometry": { | ||
* "type": "Polygon", | ||
* "coordinates": [[ | ||
* [-12.034835, 8.901183], | ||
* [-12.060413, 8.899826], | ||
* [-12.03638, 8.873199], | ||
* [-12.059383, 8.871418], | ||
* [-12.034835, 8.901183] | ||
* ]] | ||
* } | ||
* }; | ||
* var poly = turf.polygon([[ | ||
* [-12.034835, 8.901183], | ||
* [-12.060413, 8.899826], | ||
* [-12.03638, 8.873199], | ||
* [-12.059383, 8.871418], | ||
* [-12.034835, 8.901183] | ||
* ]]); | ||
* | ||
@@ -26,0 +19,0 @@ * var kinks = turf.kinks(poly); |
{ | ||
"name": "@turf/kinks", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf kinks module", | ||
@@ -31,3 +31,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/meta": "^4.5.2", | ||
"@turf/meta": "^4.6.0", | ||
"benchmark": "^2.1.4", | ||
@@ -39,4 +39,4 @@ "load-json-file": "^2.0.0", | ||
"dependencies": { | ||
"@turf/helpers": "^4.5.2" | ||
"@turf/helpers": "^4.6.0" | ||
} | ||
} |
@@ -14,16 +14,9 @@ # @turf/kinks | ||
```javascript | ||
var poly = { | ||
"type": "Feature", | ||
"properties": {}, | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [[ | ||
[-12.034835, 8.901183], | ||
[-12.060413, 8.899826], | ||
[-12.03638, 8.873199], | ||
[-12.059383, 8.871418], | ||
[-12.034835, 8.901183] | ||
]] | ||
} | ||
}; | ||
var poly = turf.polygon([[ | ||
[-12.034835, 8.901183], | ||
[-12.060413, 8.899826], | ||
[-12.03638, 8.873199], | ||
[-12.059383, 8.871418], | ||
[-12.034835, 8.901183] | ||
]]); | ||
@@ -30,0 +23,0 @@ var kinks = turf.kinks(poly); |
8388
114
54
Updated@turf/helpers@^4.6.0