
Turf.js
JavaScript library for geospatial analysis of GeoJSON data, with spatial operations, helper functions and statistics.
Turf is a JavaScript library for geospatial analysis, with spatial operations, helper functions for creating GeoJSON data and statistics. The homepage says it runs in browsers and Node.js, and the README says the browser bundle combines all of its modules into one file. A project installs the @turf/turf package from npm, or loads the bundle through a script tag or a CDN. The getting started guide covers each route.
Worth knowing
The README says Deno and Bun are not officially supported, and that a browser build must transpile and polyfill Turf and its dependencies for the target browsers.
Identity
Rendering and deploy
- Install with
- npm, script tag, cdn3
Releases
Adoption
Sources
- 2026-11-16: links
turfjs.org - 2026-11-16: links, Written in, License model, GitHub stars
api.github.com/repos/Turfjs/turf - 2026-11-16: links, Install with
turfjs.org/docs/getting-started - 2026-11-16: First release
api.github.com/repos/Turfjs/turf/commits/1.3.0 - 2026-11-16: Maintainer, License
github.com/Turfjs/turf/blob/master/LICENSE - 2026-11-16: Categories, Runtime
github.com/Turfjs/turf/blob/master/README.md - 2026-11-16: Current major version, Last release
api.github.com/repos/Turfjs/turf/releases/tags/v7.4.0 - 2026-11-16: Contributors
api.github.com/repos/Turfjs/turf/contributors?per_page=1 - 2026-11-16: npm downloads a week
api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@turf/turf - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@turf/turf