{"_id":"eventsource-polyfill","_rev":"306513","name":"eventsource-polyfill","description":"A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)","dist-tags":{"latest":"0.9.6"},"maintainers":[{"name":"amvtek","email":"devel@amvtek.com"}],"time":{"modified":"2021-06-03T19:33:16.000Z","created":"2015-02-28T16:24:07.670Z","0.9.6":"2015-02-28T18:13:11.537Z","0.9.5":"2015-02-28T16:24:07.670Z"},"users":{"tonygemcd":true,"morganz":true,"tonyljl526":true,"panlw":true,"stone_breaker":true,"yeming":true,"fakefarm":true},"author":{"name":"amvtek","email":"devel@amvtek.com"},"repository":{"type":"git","url":"https://github.com/amvtek/EventSource.git"},"versions":{"0.9.6":{"name":"eventsource-polyfill","version":"0.9.6","description":"A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)","main":"dist/browserify-eventsource.js","directories":{"doc":"docs"},"files":["dist/eventsource.js","dist/browserify-eventsource.js"],"scripts":{"test":"echo \"Error: to run browser tests, visit http://testevs.amvtek.com/\" && exit 1"},"repository":{"type":"git","url":"https://github.com/amvtek/EventSource.git"},"keywords":["sse","server sent events","eventsource","event-source","polyfill"],"author":{"name":"amvtek","email":"devel@amvtek.com"},"license":"MIT","bugs":{"url":"https://github.com/amvtek/EventSource/issues"},"homepage":"https://github.com/amvtek/EventSource","devDependencies":{"grunt":"^0.4.5","grunt-contrib-uglify":"^0.6.0","grunt-string-replace":"^1.0.0"},"gitHead":"030f993d5bc2a9f9aeabfcafcd5ea4e8424ff68a","_id":"eventsource-polyfill@0.9.6","_shasum":"10e0d187f111b167f28fdab918843ce7d818f13c","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.33","_npmUser":{"name":"amvtek","email":"devel@amvtek.com"},"maintainers":[{"name":"amvtek","email":"devel@amvtek.com"}],"dist":{"shasum":"10e0d187f111b167f28fdab918843ce7d818f13c","size":6176,"noattachment":false,"key":"/eventsource-polyfill/-/eventsource-polyfill-0.9.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/eventsource-polyfill/download/eventsource-polyfill-0.9.6.tgz"},"publish_time":1425147191537,"_cnpm_publish_time":1425147191537,"_hasShrinkwrap":false},"0.9.5":{"name":"eventsource-polyfill","version":"0.9.5","description":"A browser polyfill for W3C EventSource (http://www.w3.org/TR/eventsource/)","main":"dist/browserify-eventsource.js","directories":{"doc":"docs"},"files":["dist/eventsource.js","dist/browserify-eventsource.js"],"scripts":{"test":"echo \"Error: to run browser tests, visit http://testevs.amvtek.com/\" && exit 1"},"repository":{"type":"git","url":"https://github.com/amvtek/EventSource.git"},"keywords":["sse","server sent events","eventsource","event-source","polyfill"],"author":{"name":"amvtek","email":"devel@amvtek.com"},"license":"MIT","bugs":{"url":"https://github.com/amvtek/EventSource/issues"},"homepage":"https://github.com/amvtek/EventSource","devDependencies":{"grunt":"^0.4.5","grunt-contrib-uglify":"^0.6.0","grunt-string-replace":"^1.0.0"},"gitHead":"8a1b25658b7168895d68119b8ed4e3796fa41626","_id":"eventsource-polyfill@0.9.5","_shasum":"365c06db38e82ad3f94345c25834f7d2eba056d8","_from":".","_npmVersion":"2.6.1","_nodeVersion":"0.10.33","_npmUser":{"name":"amvtek","email":"devel@amvtek.com"},"maintainers":[{"name":"amvtek","email":"devel@amvtek.com"}],"dist":{"shasum":"365c06db38e82ad3f94345c25834f7d2eba056d8","size":6499,"noattachment":false,"key":"/eventsource-polyfill/-/eventsource-polyfill-0.9.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/eventsource-polyfill/download/eventsource-polyfill-0.9.5.tgz"},"publish_time":1425140647670,"_cnpm_publish_time":1425140647670,"_hasShrinkwrap":false}},"readme":"EventSource Polyfill\n====================\n\nProvide polyfill to support EventSource in browser where it is not available.\n\n> -   Used in production\n> -   Tested in Internet Explorer 8 +\n> -   Tested in Android browser 2.1 +\n> -   [Documented][]\n> -   Run the [Browser test suite][]\n\nInstalling\n----------\n\n### from source\n\nDownload suitable project archive (zip or tar.gz) from [release page][]\n\nInclude in your html documents one of the following javascript file:\n\n> -   *dist/eventsource.js*\n> -   *dist/eventsource.min.js* (minified version)\n\n### Using bower package manager\n\nTo install package from **bower registry**, type :\n\n    bower install eventsource-polyfill\n\nInclude in your html documents one of the following javascript file:\n\n> -   *bower\\_components/eventsource-polyfill/dist/eventsource.js*\n> -   *bower\\_components/eventsource-polyfill/dist/eventsource.min.js* (minified version)\n\n### Using npm package manager\n\nTo install package from **npm registry**, type :\n\n    npm install eventsource-polyfill\n\nNote that this package may only be used with in **browser application**.\n\nIf you are using [browserify][] , you just have to require this package in your main module…\n\n``` sourceCode\n// load (Polyfill) EventSource, in case browser does not support it...\nrequire('eventsource-polyfill');\n```\n\nRun the tests now\n-----------------\n\nWith your web browser visit this [test site][Browser test suite]\n\nAllow **sufficient time** ( ~ 5 minutes) for the full Test Suite to run…\n\nProject content\n---------------\n\ndist/  \n    built version of javascript modules\n\njavascript/  \n    Contains polyfill module and related unit tests\n\ntest_server/  \n    python server which generates *easy to test* **event stream**\n\ndocs/  \n    documentation wiki\n\n  [Documented]: https://github.com/amvtek/EventSource/wiki\n  [Browser test suite]: http://testevs.amvtek.com/\n  [release page]: https://github.com/amvtek/EventSource/releases/latest\n  [browserify]: http://browserify.org\n","_attachments":{},"homepage":"https://github.com/amvtek/EventSource","bugs":{"url":"https://github.com/amvtek/EventSource/issues"},"license":"MIT"}