fetch-stream-observable

JSON →
library 1.1.2 ·javascript
verified Jun 7, 2026

A lightweight library that wraps the Fetch API to return an Observable from the zen-observable package, enabling stream-based responses (e.g., OpenAI chat completions). Current stable version 1.1.2. Actively maintained with TypeScript support and a small bundle (3.7 KB min+gzip). Key differentiators: built-in OpenAI stream parsing, automatic fallback to non-streaming responses, and additive text concatenation. Ideal for real-time data consumption in frontend frameworks like React.