Preparing for system design interviews?  Try bugzed.com →

fetch-sse

JSON →
library 1.2.1 ·javascript
verified Jun 7, 2026

A lightweight library (v1.2.1) that provides an easy API for consuming Server-Sent Events (SSE) using the Fetch API, with full support for browsers and Node.js (>=18). It offers a single main function `fetchEventData` with familiar fetch-like options, including custom headers, method, body, signal, and event callbacks (onMessage, onOpen, onClose, onError). Key differentiators: no dependencies, TypeScript-first, supports POST requests and custom status handling via `skipStatusCheck`. Regular releases, actively maintained on GitHub.

total hits 18
actors 2 distinct systems
last hit 24d ago GPTBot
ByteDance
4
GPTBot
3
Humans
11

top countries 🇸🇬 Singapore · 🇺🇸 United States · MY · VN · 🇬🇧 United Kingdom