fetch-ndjson
JSON →fetch-ndjson (v1.2.0) is a lightweight library that converts newline-delimited JSON (NDJSON) streaming responses from the Fetch API into async generators yielding parsed JSON objects. It handles incomplete lines and backpressure, and is designed for use with the Web Streams API (ReadableStream). Unlike heavier streaming parsers, it focuses solely on NDJSON and works in both browser and Node (v18+ with global fetch). Ships TypeScript types. Low maintenance; no recent updates.
Traffic · last 30 days stale · no recent hits
total hits 20
actors 3 distinct systems
last hit 17d ago human
top countries 🇸🇬 Singapore · 🇺🇸 United States · VN · 🇨🇳 China · 🇫🇷 France
Resources
packagefetch-ndjson ↗