Turfjs/turf
A modular geospatial engine written in JavaScript and TypeScript observed · 2026-08-28
Health v2 · maintenance only
94/100
- Activity 98
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 47
- age_days: 4717
- days_rel: 30
- days_push: 15
- n_releases_24m: 8
Adoption not part of the score
10461 stars · 1015 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Turf is a modular geospatial engine written in JavaScript and TypeScript for spatial analysis. It provides traditional spatial operations, GeoJSON helper functions, and data classification/statistics tools that run in browsers or Node.js.
Use cases
- calculate the area of a polygon in geo
- find a point at a given distance along a line
- buffer points and lines on a map
- compute voronoi diagrams in the browser
- classify geo data with jenks natural breaks
- intersect and union polygons server-side with node
- measure distance between two coordinates
- create a tin or contour from scattered points
When to choose
- you need client-side or server-side spatial analysis without sending data to a server
- your data is GeoJSON and you work in JavaScript/TypeScript
- you want small modular functions you can import individually
- you're building mapping apps with Leaflet, Mapbox GL, or MapLibre
When to avoid
- you need heavy-duty GIS operations like raster analysis or coordinate reprojection at scale
- you work in Python or another non-JS ecosystem
- you need a full desktop GIS engine with topology and network analysis
Facets
library · maturity stable
geospatial math data-science web-development browser cross-platform geo gis spatial-analysis computational-geometry typescript modular maps geospatial algorithms nodejs javascript
10 sources
- readme: https://github.com/Turfjs/turf · fetched 2026-08-28 · f415b04aa836
- homepage: https://turfjs.org · fetched 2026-08-29 · 93c295cc8dfe
- site_page: https://turfjs.org/docs/intro · fetched 2026-08-29 · 8cd2d3a8439d
- site_page: https://turfjs.org/docs/api/along · fetched 2026-08-29 · d09cd72dc7a0
- site_page: https://turfjs.org/docs/next/intro · fetched 2026-08-29 · aef250741135
- site_page: https://turfjs.org/docs/7.3.0/intro · fetched 2026-08-29 · 7bd25a877318
- site_page: https://turfjs.org/docs/7.2.0/intro · fetched 2026-08-29 · 3859861effd5
- site_page: https://turfjs.org/docs/7.1.0/intro · fetched 2026-08-29 · 8610273171fb
- site_page: https://turfjs.org/docs/7.0.0/intro · fetched 2026-08-29 · 403bd96e8afb
- site_page: https://turfjs.org/docs/6.5.0/intro · fetched 2026-08-29 · 41c739324f2b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Turfjs/turf | main | 94 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem