@turf/truncate
Advanced tools
Comparing version 4.5.2 to 4.6.0
18
index.js
@@ -13,14 +13,8 @@ var coordEach = require('@turf/meta').coordEach; | ||
* @example | ||
* var point = { | ||
* "type": "Feature", | ||
* "properties": {} | ||
* "geometry": { | ||
* "type": "Point", | ||
* "coordinates": [ | ||
* 70.46923055566859, | ||
* 58.11088890802906, | ||
* 1508 | ||
* ] | ||
* } | ||
* }; | ||
* var point = turf.point([ | ||
* 70.46923055566859, | ||
* 58.11088890802906, | ||
* 1508 | ||
* ]); | ||
* | ||
* var truncated = turf.truncate(point); | ||
@@ -27,0 +21,0 @@ * |
{ | ||
"name": "@turf/truncate", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"description": "turf truncate module", | ||
@@ -35,3 +35,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"@turf/helpers": "^4.5.2", | ||
"@turf/helpers": "^4.6.0", | ||
"benchmark": "^2.1.4", | ||
@@ -43,4 +43,4 @@ "load-json-file": "^2.0.0", | ||
"dependencies": { | ||
"@turf/meta": "^4.5.2" | ||
"@turf/meta": "^4.6.0" | ||
} | ||
} |
@@ -17,14 +17,8 @@ # @turf/truncate | ||
```javascript | ||
var point = { | ||
"type": "Feature", | ||
"properties": {} | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
70.46923055566859, | ||
58.11088890802906, | ||
1508 | ||
] | ||
} | ||
}; | ||
var point = turf.point([ | ||
70.46923055566859, | ||
58.11088890802906, | ||
1508 | ||
]); | ||
var truncated = turf.truncate(point); | ||
@@ -31,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6869
69
55
Updated@turf/meta@^4.6.0