# json-stream **Repository Path**: mirrors_marcelklehr/json-stream ## Basic Information - **Project Name**: json-stream - **Description**: New line-delimeted JSON parser with a stream interface - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-07-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # json-stream [![Build Status](https://secure.travis-ci.org/mmalecki/json-stream.png)](http://travis-ci.org/mmalecki/json-stream) New line-delimeted JSON parser with a stream interface. ## Installation npm install json-stream ## Usage ```js var JSONStream = require('json-stream'); var stream = new JSONStream(); stream.on('data', function (chunk) { console.dir(chunk); }); stream.write('{"a":'); stream.write('42}\n'); stream.write('{"hel'); stream.write('lo": "world"}\n'); ``` Will output: ``` { a: 42 } { hello: 'world' } ``` If invalid JSON gets written, it's silently ignored.