EventSource client for Node.js
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 214 commits behind EventSource:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib
test
.gitignore
.travis.yml
History.md
LICENSE
Makefile
README.md
package.json

README.md

Build Status

EventSource

This library implements the EventSource client for Node.js. The API aims to be W3C compatible.

Install

npm install eventsource

Usage

var EventSource = require('eventsource');

es = new EventSource('someurl');

See the spec for API docs.

Example

See https://github.com/einaros/sse-example