@turf/line-slice
Version:
Useful for extracting only the part of a route between waypoints.
75 lines (74 loc) • 1.8 kB
JSON
{
"name": "@turf/line-slice",
"version": "7.3.1",
"description": "Useful for extracting only the part of a route between waypoints.",
"author": "Turf Authors",
"license": "MIT",
"bugs": {
"url": "https://github.com/Turfjs/turf/issues"
},
"homepage": "https://github.com/Turfjs/turf",
"repository": {
"type": "git",
"url": "git://github.com/Turfjs/turf.git"
},
"funding": "https://opencollective.com/turf",
"publishConfig": {
"access": "public"
},
"keywords": [
"turf",
"linestring",
"geojson",
"linear",
"reference",
"line",
"distance"
],
"type": "module",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
}
},
"sideEffects": false,
"files": [
"dist"
],
"scripts": {
"bench": "tsx bench.ts",
"build": "tsup --config ../../tsup.config.ts",
"docs": "tsx ../../scripts/generate-readmes.ts",
"test": "pnpm run /test:.*/",
"test:tape": "tsx test.ts"
},
"devDependencies": {
"@turf/truncate": "7.3.1",
"@types/benchmark": "^2.1.5",
"@types/tape": "^5.8.1",
"benchmark": "^2.1.4",
"load-json-file": "^7.0.1",
"tape": "^5.9.0",
"tsup": "^8.4.0",
"tsx": "^4.19.4",
"write-json-file": "^6.0.0"
},
"dependencies": {
"@turf/helpers": "7.3.1",
"@turf/invariant": "7.3.1",
"@turf/nearest-point-on-line": "7.3.1",
"@types/geojson": "^7946.0.10"
},
"gitHead": "b7f1b4eafb760431e03955499d8eac9489438219"
}