You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

turf-extensions

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

turf-extensions

Assorted functions extending the functionality of Turf.js

0.2.15
latest
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

turf

FAQs

Package last updated on 02 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.