eventsource
npmv4.1.0TypeScriptWhatWG/W3C compliant EventSource client for Node.js and browsers
Overview
eventsource is an npm package that whatWG/W3C compliant EventSource client for Node.js and browsers. The latest version is 4.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need whatWG/W3C compliant EventSource client for Node.js and browsers and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (21 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of eventsource.
Dependencies
Runtime (1)
Dev (20)
Used by
Popular packages that depend on eventsource.
Alternatives to eventsource
Frequently installed together
TypeScript definitions for ws
Universal Server.
TypeScript definitions for node
TypeScript-first schema declaration and validation library with static type inference
Next generation testing framework powered by Vite
Create and parse HTTP Content-Type header
Get and validate the raw body of a readable stream.
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
Converts Zod schemas to Json Schemas
Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
Node.js Adapter for Hono
Version history
| Version | Published | License |
|---|---|---|
| 4.1.0latest | 8 months ago | MIT |
| 4.0.0 | 1 year ago | MIT |
| 3.0.7 | 1 year ago | MIT |
| 3.0.6 | 1 year ago | MIT |
| 3.0.5-umd.0 | 1 year ago | MIT |
| 3.0.5 | 1 year ago | MIT |
| 3.0.4 | 1 year ago | MIT |
| 3.0.3 | 1 year ago | MIT |
| 3.0.2 | 1 year ago | MIT |
| 3.0.1 | 1 year ago | MIT |
| 3.0.0 | 1 year ago | MIT |
| 3.0.0-beta.0 | 1 year ago | MIT |
| 1.1.2 | 4 years ago | MIT |
| 1.1.1 | 4 years ago | MIT |
| 2.0.2 | 4 years ago | MIT |
| 2.0.1 | 4 years ago | MIT |
| 2.0.0 | 4 years ago | MIT |
| 1.1.0 | 5 years ago | MIT |
| 1.0.7 | 8 years ago | MIT |
| 1.0.6 | 8 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install eventsource?
Run `npm install eventsource` to add eventsource to your npm project.
What license is eventsource released under?
eventsource is distributed under the MIT license.
How popular is eventsource?
eventsource has approximately 0 downloads per week and 2 known dependent packages.