{"adoption": {"forks": 64, "observed_at": "2026-08-28T04:05:09.260377+00:00", "stars": 1597}, "canonical_url": "https://ross.abutalabs.com/products/flatbush", "card": {"archived": false, "artifact_type": "library", "description": "A very fast static spatial index for 2D points and rectangles in JavaScript 🌱", "domain": ["data-visualization", "web-development"], "enriched": true, "function": ["search-engine", "geospatial", "data-visualization"], "health_score": 94, "homepage": null, "language": "JavaScript", "license": "ISC", "license_family": "permissive", "maturity": "stable", "member_repos": ["mourner/flatbush"], "name": "mourner/flatbush", "platform": ["browser"], "pushed_at": "2026-07-08T18:37:38+00:00", "repo": "mourner/flatbush", "stars": 1597, "tags": ["spatial-index", "r-tree", "hilbert-curve", "k-nearest-neighbors", "bounding-box-query", "computational-geometry", "static-index", "array-buffer", "zero-dependency", "geospatial", "algorithms", "maps", "javascript", "nodejs", "web-server"], "topics": ["javascript", "r-tree", "spatial-index", "algorithm", "computational-geometry", "data-structures"], "urls": [], "use_cases": ["index millions of rectangles for fast bounding box queries in JavaScript", "find k nearest neighbors to a point in a large 2D dataset", "speed up map rendering and hit-testing in data visualizations", "transfer a spatial index between web workers via a single array buffer", "serialize a compact binary spatial index to a file and reload it", "accelerate computational geometry algorithms like polygon intersection tests", "index geographic locations for spatial search with geoflatbush"], "what_it_is": "Flatbush is a very fast static spatial index for 2D points and rectangles in JavaScript, implementing a packed Hilbert R-tree. It supports bounding-box and k-nearest-neighbor queries over millions of items, with the index stored as a single transferable array buffer.", "when_to_avoid": ["you need to add or remove items after building the index - use RBush instead", "you need dynamic incremental indexing with frequent updates", "you need 3D or higher-dimensional spatial indexing", "you need full-text or non-spatial search"], "when_to_choose": ["your dataset is static or rebuilt infrequently and you need maximum indexing and query speed", "you need a low-memory spatial index that serializes to a single array buffer", "you query millions of points or rectangles for maps, charts, or geometry algorithms", "you want to transfer the index between threads or persist it compactly"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/flatbush", "repo": "mourner/flatbush", "role": "main", "score": 87}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:09.260377+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:54:00.315357+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "d550a3b7be295abb46b0824deea02678d32e489657c0b9fcf17ca3e2a3f96bb1", "fetched_at": "2026-08-28T04:05:09.260377+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/flatbush"}, {"content_hash": "50ad2bfd74e2eed3c4d0fc01e5576ab4981500fd98143affa8c7c977078b9bfa", "fetched_at": "2026-08-29T11:25:01.003114+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/flatbush"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 91, "longevity": 100, "rhythm": 75}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3109, "days_push": 56, "days_rel": 85, "gap_med": 34, "n_releases_24m": 6}, "score": 87, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}