server-send-events
eventsource
Installation
$ npm install server-send-events
Example
const http = ;const EventSource = ; const es = ;const server = ;const send = res; server server;
API
- send
- event
- retry
Contributing
- Fork this Repo first
- Clone your Repo
- Install dependencies by
$ npm install
- Checkout a feature branch
- Feel free to add your features
- Make sure your features are fully tested
- Publish your local branch, Open a pull request
- Enjoy hacking <3
MIT
This work is licensed under the MIT license.