JSPM

@turf/jsts

2.7.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 214027
  • Score
    100M100P100Q194926F
  • License (EDL-1.0 OR EPL-1.0)

A treeshaken subset of JSTS functions for use within

Package Exports

  • @turf/jsts
  • @turf/jsts/dist/jsts.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@turf/jsts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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