zacbarton

zacbarton/node-server-sent-events

Express middleware to push events/messages from the server to the browser, using EventSource.

JavaScript
14
6
MIT License

This project provides Express middleware to easily implement Server-Sent Events (SSE), enabling real-time, one-way communication from a Node.js server to a browser using the `EventSource` API. It handles connection management, browser compatibility tweaks (like padding for IE), and works with compression middleware. It's designed for

Total donated
Undistributed
Share with your subscribers: