Technology
NDJSON) TypeScript
NDJSON for TypeScript provides type-safe streaming for newline-delimited JSON data, enabling efficient processing of massive datasets without memory overflow.
NDJSON (Newline Delimited JSON) in TypeScript allows you to handle high-volume data streams by treating each line as an independent, valid JSON object. By using the @types/ndjson definitions alongside the core ndjson library, you gain full IntelliSense and type safety for stream-based parsers and serializers. This setup is essential for processing multi-gigabyte logs or real-time API feeds (like those from Lichess or Cloudflare Workers) where buffering a single large JSON array would crash the process. You simply pipe a readable stream into the ndjson.parse() method and handle objects one by one as they arrive.
Related technologies
Recent Talks & Demos
Showing 1-1 of 1