Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Eugene Lazutkin edited this page Jun 7, 2026 · 75 revisions

Dashboard

Node.js CI NPM version

stream-json parses and processes JSON as a stream of tokens, so you can work with documents far larger than memory. This page routes you to the right doc; for the 30-second pitch, see the README.

Search

🔍 Search this wiki — ranked, deep-linked search via wiki-search; install the bookmarklet to search in place. Fallback: GitHub wiki search.

Start here

New to stream-json? Read in this order:

  1. Concepts — the model: parse to tokens, narrow, assemble — and what the library can and cannot do.
  2. Intro by examples — the common pipelines as runnable code.
  3. Recipes — ready-made solutions to common tasks.
  4. Performance — once it works, how to keep it fast.

Components

Other formats

Tuning & reference

For when it works and you want speed, depth, or history:

Companion projects

  • stream-chain — the pipeline substrate stream-json is built on; also home to streaming JSONL.
  • stream-csv-as-json — huge CSV in a stream-json-compatible token format.
  • stream-fork — splits a stream to several destinations.
  • stream-join — merges side channels — with stream-fork, the tools for complex pipeline topologies.

Credits

tests/sample.json.gz combines several public datasets (Japanese birth/marriage statistics, US HUD metadata catalog, and a synthetic sample with non-ASCII data).

tests/sample.jsonl.gz is the first 100 rows of the CDC "Database of COVID-19 Research Articles" (7/9/2020 snapshot), converted to JSONL.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.