eventsource : W3C compliant EventSource client for Node.js and browser (polyfill). You can installing eventsource npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install eventsource $ sudo npm install -g eventsource
If want to update the eventsource package execute the command as below,
$ sudo npm update eventsource
Update package globally,
$ npm install -g eventsource
$ sudo git clone https://github.com/rektide/eventsource.git
$ sudo npm install -g ./eventsource
eventsource@1.0.5 /usr/lib/node_modules/eventsource
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall eventsource
Package Name | eventsource |
Version | 1.0.5 |
Description | W3C compliant EventSource client for Node.js and browser (polyfill) |
Released Date | 2017-07-18T16:01:49.605Z |
Published by | rexxars |
How to Learn | https://www.npmjs.com/package/eventsource/tutorial |