JSPM

  • Created
  • Published
  • Downloads 10474074
  • Score
    100M100P100Q232730F

EventSource client for Node.js

Package Exports

  • eventsource

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eventsource) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.