Yaffle/EventSource
a polyfill for http://www.w3.org/TR/eventsource/ observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5652
- days_rel: n/a
- days_push: 837
- n_releases_24m: 0
Adoption not part of the score
2183 stars · 335 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript polyfill for the EventSource (Server-Sent Events) API, providing support for older browsers like IE 8-10 and adding features such as custom headers and cross-domain requests. It is distributed as the 'event-source-polyfill' npm package and works with bundlers like webpack and browserify.
Use cases
- consume server-sent events in browsers without native EventSource support
- add custom headers to EventSource requests for authentication
- use SSE with cross-domain (CORS) requests in legacy browsers
- support IE 10 and older browsers for real-time event streams
- integrate SSE into Angular or Ionic applications via polyfills
- send Last-Event-ID for stream reconnection in browsers lacking header support
When to choose
- you need Server-Sent Events in legacy browsers like IE 8-10
- you need custom headers or Last-Event-ID query parameter support with EventSource
- you want cross-domain SSE with simple server-side requirements
When to avoid
- your target browsers all support native EventSource
- you need bidirectional communication (use WebSockets instead)
- you need to support Android Browser or Opera Mini
- the maintainer explicitly discourages using this library for new projects
Facets
library · maturity maintenance
http-client websocket web-development frontend apis browser cross-platform server-sent-events eventsource polyfill sse real-time javascript
1 source
- readme: https://github.com/Yaffle/EventSource · fetched 2026-08-28 · a0655c5640ed
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Yaffle/EventSource | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Yaffle/EventSource")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem