EventSource/eventsource
EventSource client for Node.js, browsers and other JavaScript runtimes observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 98
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 5320
- days_rel: 13
- days_push: 13
- n_releases_24m: 14
Adoption not part of the score
1155 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A WhatWG/W3C-compliant EventSource client library for consuming server-sent events (SSE) in Node.js, browsers, Deno, Bun, and other JavaScript runtimes. It implements the spec with minimal additions and supports reconnection, typed event listeners, and explicit connection closing.
Use cases
- consume server-sent events in node.js
- subscribe to an SSE endpoint from the browser
- listen for real-time updates over HTTP streams
- polyfill EventSource in runtimes without native support
- stream live notifications from a server
- connect to an SSE API with automatic reconnection
When to choose
- you need a spec-compliant EventSource client across Node.js and browsers
- your runtime lacks a native EventSource implementation
- you want a minimal, standards-based SSE consumer
- you need broad runtime support including Deno and Bun
When to avoid
- you need bidirectional streaming or a richer client API (consider eventsource-client)
- you need WebSockets or two-way communication
- you must support very old runtimes without private class fields (use the 4.x branch instead)
Facets
library · maturity stable
http-client websocket web-development frontend backend apis browser bun cross-platform server-sent-events sse eventsource typescript whatwg real-time nodejs deno
2 sources
- readme: https://github.com/EventSource/eventsource · fetched 2026-08-28 · fc6131530d95
- registry_npm: https://registry.npmjs.org/eventsource · fetched 2026-08-29 · a282e3d8f1c3
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| EventSource/eventsource | main | 98 |
For agents
markdown · JSON · MCP: product_card(name="EventSource/eventsource")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem