JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 26
  • Score
    100M100P100Q64095F
  • License ISC

Assorted functions extending the functionality of Turf.js

Package Exports

  • turf-extensions
  • turf-extensions/build/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (turf-extensions) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Turf Extensions

Assorted functions extending the functionality of Turf.js.

Installation

To install, run:

npm install turf-extensions

API

The API is unstable, but includes the following:

lineBezierSmoothing
lineSmoothingLine
linesSplittingLineAtCoordinate

bufferedConvex
cleanFeatureCollection
findCoordinate
findLineString

isLineStringFeature
isPointFeature
isPolygonFeature

coordinatesCalculatedAngularChanges
coordinatesCalculatedRadii
coordinatesEqual
coordinatesInsertingPointAfterNearestPointOnLine
coordinatesSubdividing
coordinatesToString
filterCoordinatesWithMaximumAngularChange

Development

To build the project, run:

npm run build

Testing

To run the tests, use:

npm test

For debugging tests, you can use the provided VS Code launch configuration "Debug Jest Tests".

License

This project is licensed under the MIT License. See the LICENSE file for details.