Curated community resources
Quick answer
This page reorganizes Turf's roughly two hundred functions by purpose: geometry generation such as buffer, intersect, union, difference, mask, voronoi and tin; measurement such as distance, length, area, bearing and along; grids and interpolation; and relationship checks. It also links geojsonhint, the RFC 7946 specification, and the ESM import style used in 7.x. You will know which function to reach for and where to confirm its behaviour.
Key points
- Import individual functions from their packages rather than the whole @turf/turf bundle in 7.x.
- Use turf.simplify or clustering before handing hundreds of thousands of features to a renderer.
- Read the function test cases when the docs leave edge-case behaviour unclear.
Example
npm view @turf/turf version
npm view @turf/turf time.modified
npm view @turf/turf exports
Notes
- Most functions return null on invalid input instead of throwing, so unchecked results propagate silently.
- Tutorials still using var turf = require('@turf/turf') and turf.buffer(...) describe 6.x, not 7.x.
English edition written for Atlaslog. Code is taken from the original Chinese page and runs unchanged.
Atlaslog (2026). Curated community resources. https://www.jingweizhi.com/en/turf/tutorials/community-picks.html (accessed 2026-11-03).