@turf/line-slice
Advanced tools
Comparing version 3.0.15 to 3.0.16
{ | ||
"name": "@turf/line-slice", | ||
"version": "3.0.15", | ||
"version": "3.0.16", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "https://github.com/Turfjs/turf-line-slice.git" | ||
"url": "git://github.com/Turfjs/turf.git" | ||
}, | ||
@@ -26,17 +26,17 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/Turfjs/turf-line-slice/issues" | ||
"url": "https://github.com/Turfjs/turf/issues" | ||
}, | ||
"homepage": "https://github.com/Turfjs/turf-line-slice", | ||
"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/bearing": "^3.0.15", | ||
"@turf/destination": "^3.0.15", | ||
"@turf/distance": "^3.0.15", | ||
"@turf/helpers": "^3.0.15", | ||
"@turf/point-on-line": "^3.0.15" | ||
"@turf/bearing": "^3.0.16", | ||
"@turf/destination": "^3.0.16", | ||
"@turf/distance": "^3.0.16", | ||
"@turf/helpers": "^3.0.16", | ||
"@turf/point-on-line": "^3.0.16" | ||
} | ||
} |
@@ -1,6 +0,6 @@ | ||
# turf-line-slice | ||
# @turf/line-slice | ||
# lineSlice | ||
Takes a [line](LineString), a start [Point](Point), and a stop point | ||
Takes a [line](http://geojson.org/geojson-spec.html#linestring), a start [Point](http://geojson.org/geojson-spec.html#point), and a stop point | ||
and returns a subsection of the line in-between those points. | ||
@@ -13,5 +13,5 @@ The start & stop points don't need to fall exactly on the line. | ||
- `point1` **Feature<Point>** starting point | ||
- `point2` **Feature<Point>** stopping point | ||
- `line` **(Feature<LineString> | LineString)** line to slice | ||
- `point1` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** starting point | ||
- `point2` **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[Point](http://geojson.org/geojson-spec.html#point)>** stopping point | ||
- `line` **([Feature](http://geojson.org/geojson-spec.html#feature-objects)<[LineString](http://geojson.org/geojson-spec.html#linestring)> | [LineString](http://geojson.org/geojson-spec.html#linestring))** line to slice | ||
@@ -60,3 +60,3 @@ **Examples** | ||
Returns **Feature<LineString>** sliced line | ||
Returns **[Feature](http://geojson.org/geojson-spec.html#feature-objects)<[LineString](http://geojson.org/geojson-spec.html#linestring)>** sliced line | ||
@@ -75,3 +75,3 @@ --- | ||
```sh | ||
$ npm install turf-line-slice | ||
$ npm install @turf/line-slice | ||
``` | ||
@@ -82,3 +82,3 @@ | ||
```sh | ||
$ npm install turf | ||
$ npm install @turf/turf | ||
``` |
11216
Updated@turf/bearing@^3.0.16
Updated@turf/destination@^3.0.16
Updated@turf/distance@^3.0.16
Updated@turf/helpers@^3.0.16
Updated@turf/point-on-line@^3.0.16