fetch-readablestream

JSON →
library 0.2.0 ·javascript
verified Jun 7, 2026

Compatibility layer for efficient streaming of binary data using WHATWG Streams. Current stable version is 0.2.0, with no recent releases or cadence. It provides a consistent cross-browser API to stream HTTP responses as ReadableStream, falling back to XMLHttpRequest with moz-chunked-arraybuffer in Firefox, and TextEncoder in other browsers. Differentiates from native fetch by enabling streaming in older browsers, unlike stream-http which uses callbacks.