a JavaScript library for performing geospatial operations with GeoJSON

Usage no npm install needed!

<script type="module">
  import bmapTurfTurf from 'https://cdn.skypack.dev/@bmap-turf/turf';




Turf is a modular geospatial analysis engine written in JavaScript. It performs geospatial processing tasks with GeoJSON data and can be run on a server or in a browser.

This module is part of the Turfjs project, an open source module collection dedicated to geographic algorithms. It is maintained in the Turfjs/turf repository, where you can create PRs and issues.


Install this module individually:

$ npm install @turf/turf

Or install the Turf module that includes it as a function:

$ npm install @turf/turf