mourner/simplify-js
High-performance JavaScript polyline simplification library observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5325
- days_rel: n/a
- days_push: 1388
- n_releases_24m: 0
Adoption not part of the score
2393 stars · 207 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Simplify.js is a tiny, high-performance JavaScript library for 2D/3D polyline simplification, extracted from Leaflet. It combines the Douglas-Peucker and Radial Distance algorithms to dramatically reduce the number of points in a polyline while retaining its shape.
Use cases
- simplify map routes before rendering on canvas or svg
- reduce points in a 70k-point line chart for faster rendering
- downsample GPS tracks to shrink data size
- smooth noisy polyline data while keeping its shape
- speed up geometric processing of large coordinate arrays
When to choose
- you need fast, dependency-free polyline/point reduction in JavaScript in the browser or Node
- you render large paths (maps, charts) and want to cut visual noise and boost performance
- you want a tiny, well-tested algorithm extracted from Leaflet
When to avoid
- you need polygon topology-aware simplification (e.g. mapnik/topo-style shared-edge simplification)
- you work in another language and prefer a native port (ports exist for Python, Rust, Go, etc.)
- you need geodesic-aware simplification that accounts for projection distortion
Facets
library · maturity stable
math graphics data-visualization graphics data-visualization browser cross-platform polyline-simplification geometry douglas-peucker maps canvas svg algorithms nodejs
3 sources
- readme: https://github.com/mourner/simplify-js · fetched 2026-08-28 · 815675ba9243
- homepage: http://mourner.github.io/simplify-js · fetched 2026-08-29 · 5a563e6df296
- registry_npm: https://registry.npmjs.org/simplify-js · fetched 2026-08-29 · 09e0edf3168f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mourner/simplify-js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="mourner/simplify-js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem