@turf/line-distance
Advanced tools
Comparing version 3.0.15 to 3.0.16
{ | ||
"name": "@turf/line-distance", | ||
"version": "3.0.15", | ||
"version": "3.0.16", | ||
"description": "turf-line-distance ---", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/Turfjs/turf-line-distance.git" | ||
"url": "git://github.com/Turfjs/turf.git" | ||
}, | ||
@@ -25,5 +25,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf-line-distance/issues" | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf-line-distance", | ||
"homepage": "https://github.com/Turfjs/turf", | ||
"devDependencies": { | ||
@@ -34,5 +34,5 @@ "benchmark": "^1.0.0", | ||
"dependencies": { | ||
"@turf/distance": "^3.0.15", | ||
"@turf/helpers": "^3.0.15" | ||
"@turf/distance": "^3.0.16", | ||
"@turf/helpers": "^3.0.16" | ||
} | ||
} |
@@ -1,10 +0,10 @@ | ||
# turf-line-distance | ||
# @turf/line-distance | ||
# lineDistance | ||
Takes a [line](LineString) and measures its length in the specified units. | ||
Takes a [line](http://geojson.org/geojson-spec.html#linestring) and measures its length in the specified units. | ||
**Parameters** | ||
- `line` **Feature<LineString>** line to measure | ||
- `line` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[LineString](http://geojson.org/geojson-spec.html#linestring)>** line to measure | ||
- `units` **\[[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)]** can be degrees, radians, miles, or kilometers (optional, default `kilometers`) | ||
@@ -52,3 +52,3 @@ | ||
```sh | ||
$ npm install turf-line-distance | ||
$ npm install @turf/line-distance | ||
``` | ||
@@ -59,3 +59,3 @@ | ||
```sh | ||
$ npm install turf | ||
$ npm install @turf/turf | ||
``` |
8537
Updated@turf/distance@^3.0.16
Updated@turf/helpers@^3.0.16