Azure/fetch-event-source
A better API for making Event Source requests, with all the features of fetch() observed · 2026-08-28
Health v2 · maintenance only
54/100
- Activity 69
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2208
- days_rel: n/a
- days_push: 186
- n_releases_24m: 0
Adoption not part of the score
2870 stars · 195 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A TypeScript library providing a fetch()-based alternative to the browser's native EventSource API for consuming server-sent events. It removes EventSource restrictions by supporting custom methods, headers, request bodies, and full control over retry strategies.
Use cases
- consume server-sent events with POST requests and custom headers
- stream LLM token responses over SSE in a web app
- implement custom reconnection logic for dropped SSE connections
- pause SSE connections when the browser tab is hidden
- parse event streams behind API gateways with error handling
When to avoid
- you only need simple GET-based SSE with default browser behavior
- you need bidirectional streaming like WebSockets
- you are not in a fetch-capable environment
Facets
library · maturity stable
http-client websocket web-development frontend apis browser cross-platform server-sent-events eventsource fetch-api sse-client streaming nodejs
1 source
- readme: https://github.com/Azure/fetch-event-source · fetched 2026-08-28 · d16929d83a6c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Azure/fetch-event-source | main | 54 |
For agents
markdown · JSON · MCP: product_card(name="Azure/fetch-event-source")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem