Skip to content

A minimal subset of JSTS features bundled and compiled to ES5

Notifications You must be signed in to change notification settings

Turfjs/turf-jsts

Folders and files

NameName
Last commit message
Last commit date
Dec 15, 2024
Oct 3, 2021
Dec 14, 2024
Oct 3, 2021
Nov 14, 2024
Oct 3, 2021
Dec 14, 2024
Dec 14, 2024
Nov 14, 2024

Repository files navigation

Turf JSTS

This is a treeshakend version of JSTS which only contains the subset of features require to work with Turf's modules that require JSTS (currently only @turf/buffer). The code is compiled to ES5 for compatibility with Turf.

This library is not intended to be used outside of Turf.

Scripts

Build

This uses rollup to build the bundle:

npm run build

Test

This uses some basic tests to assure that the correct methods have been exported from jsts correctly:

npm run test