rictic/jsonriver
A simple, fast streaming JSON parser built on standards. observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 56
- Release rhythm 60
- Longevity 49
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: 10
- age_days: 692
- days_rel: 264
- days_push: 264
- n_releases_24m: 6
Adoption not part of the score
1206 stars · 15 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
jsonriver is a small, dependency-free TypeScript library that parses JSON incrementally as it streams in, yielding a sequence of increasingly complete values via an async iterable. It is fully spec-compliant, guaranteeing the final value matches JSON.parse, and works in any modern JavaScript environment.
Use cases
- parse json from a streaming network request incrementally
- render structured output from an llm as it streams
- process large json files without loading them fully into memory
- show partial json results in a ui while data is still arriving
- incrementally parse json in the browser or node without dependencies
When to choose
- you need to display or act on json values before the full payload arrives, e.g. streaming llm output
- you want a tiny (~2.5KiB), zero-dependency parser that works anywhere modern JS runs
- you need strict JSON.parse-equivalent correctness including error handling on invalid input
When to avoid
- you just need to parse complete JSON strings, where JSON.parse is simpler and built-in
- you need to parse formats other than JSON
- you cannot consume async iterables in your runtime environment
Facets
library · maturity active
parser serialization json parsers developer-tools web-development large-language-models browser cross-platform streaming-parser incremental-parsing typescript zero-dependency llm-streaming async-iterable nodejs web-server
2 sources
- readme: https://github.com/rictic/jsonriver · fetched 2026-08-28 · 0133a9e1914c
- homepage: https://rictic.github.io/jsonriver/ · fetched 2026-08-29 · 79493006ef18
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rictic/jsonriver | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="rictic/jsonriver")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem