FetchEventSource

JSON →
library 1.0.0-alpha.2 ·javascript
verified Jun 7, 2026

A lightweight (4kb, 2kb gzip) TypeScript library that implements the EventSource API using the Fetch API, enabling HTTP header customization and server-sent events support in Node.js and browsers. Current stable version is 1.0.0-alpha.2, released with limited update cadence. Differentiators include smaller size than native polyfills, full TypeScript typings, and cross-platform Node.js/browser support.