turf-extensions
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i turf-extensions

Weekly Downloads

570

Version

0.2.0

License

ISC

Unpacked Size

133 kB

Total Files

88

Last publish

Collaborators

  • pauljonescodes