{"library":"fetch-ndjson","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.2.0","tags":["javascript","typescript"],"install":[{"cmd":"npm install fetch-ndjson","imports":["import ndjson from 'fetch-ndjson'","const ndjson = require('fetch-ndjson').default","import ndjson from 'fetch-ndjson'"]},{"cmd":"yarn add fetch-ndjson","imports":[]},{"cmd":"pnpm add fetch-ndjson","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"fetch-ndjson","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Sun Jun 07","next_check":"Sat Sep 05","install_tag":null}}