# bjornharrtell/jsts

JavaScript Topology Suite

Repository: https://github.com/bjornharrtell/jsts
Canonical: https://ross.abutalabs.com/products/jsts
Homepage: http://bjornharrtell.github.io/jsts/
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2025-01-02T19:25:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5680, "days_push": 608, "days_rel": 635, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1562, forks 238 (observed 2026-08-28T04:05:03.955903+00:00)

## What it is
JSTS is a JavaScript library of spatial predicates and functions for processing geometry conforming to the OGC Simple Features Specification. It is a port of the Java JTS Topology Suite, supporting WKT, GeoJSON, and OpenLayers I/O, and works in both browsers and Node.js.

## Use cases
- compute intersection, union, and difference of geometries in the browser
- buffer polygons for web mapping applications
- parse WKT and GeoJSON geometry strings in Node.js
- run spatial predicates like intersects and contains on geometries
- convert geometries between OpenLayers and JTS formats
- build geometry analysis into a web mapping app

## When to choose
- you need OGC Simple Features geometry operations in JavaScript
- you are building a web mapping app with OpenLayers and need topology functions
- you want a free-standing geometry library in Node.js or the browser
- you need a JavaScript equivalent of Java's JTS API

## When to avoid
- you need full GIS raster or coordinate reprojection functionality
- you work in Java or Python where the original JTS or Shapely are more mature
- you need tile rendering or slippy-map features rather than geometry processing

## Facets
- artifact type: library
- maturity: stable
- function: geospatial, parser, math
- domain: web-development
- platform: browser, cross-platform
- tags: geometry, topology, simple-features, wkt, geo, openlayers, jts-port, spatial-analysis, geospatial, maps, algorithms, nodejs, javascript

## Member repositories
- bjornharrtell/jsts (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:03.955903+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:00:17.480422+00:00, confidence not recorded.
  - readme: https://github.com/bjornharrtell/jsts (fetched 2026-08-28T04:05:03.955903+00:00, sha a2bfb75cbab2)
  - homepage: http://bjornharrtell.github.io/jsts/ (fetched 2026-08-29T11:29:19.023543+00:00, sha 8175fd0e489a)
  - registry_npm: https://registry.npmjs.org/jsts (fetched 2026-08-29T11:29:19.027075+00:00, sha bb6d57e0f1db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
