eventsource-parser
npmv3.1.0TypeScriptStreaming, source-agnostic EventSource/Server-Sent Events parser
Overview
eventsource-parser is an npm package that streaming, source-agnostic EventSource/Server-Sent Events parser. It is extremely widely used, with about 54.2M downloads per week and 2 known dependents in the graph. The latest version is 3.1.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need streaming, source-agnostic EventSource/Server-Sent Events parser and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (54.2M weekly downloads).
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of eventsource-parser.
Dependencies
Dev (15)
Used by
Popular packages that depend on eventsource-parser.
Alternatives to eventsource-parser
Frequently installed together
TypeScript-first schema declaration and validation library with static type inference
TypeScript Execute (tsx): Node.js enhanced with esbuild to run TypeScript & ESM files
An AST-based pattern checker for JavaScript.
Prettier is an opinionated code formatter
TypeScript definitions for node
Cross platform child_process#spawn and child_process#spawnSync
Create and parse HTTP Content-Type header
An HTTP/1.1 client, written from scratch for Node.js
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
A high-level API to automate web browsers
TypeScript definitions for ws
Version history
| Version | Published | License |
|---|---|---|
| 3.1.0latest | 1 month ago | MIT |
| 3.0.8 | 3 months ago | MIT |
| 3.0.7 | 3 months ago | MIT |
| 3.0.6 | 10 months ago | MIT |
| 3.0.5 | 11 months 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 |
| 2.0.1 | 1 year ago | MIT |
| 2.0.0 | 1 year ago | MIT |
| 1.1.2 | 2 years ago | MIT |
| 1.1.1 | 2 years ago | MIT |
| 1.1.0 | 2 years ago | MIT |
| 1.0.0 | 3 years ago | MIT |
| 0.1.0 | 3 years ago | MIT |
| 0.0.5 | 3 years ago | MIT |
| 0.0.4 | 3 years ago | MIT |
| 0.0.3 | 3 years ago | MIT |
Maintainers
Keywords
Frequently asked questions
How do I install eventsource-parser?
Run `npm install eventsource-parser` to add eventsource-parser to your npm project.
What license is eventsource-parser released under?
eventsource-parser is distributed under the MIT license.
How popular is eventsource-parser?
eventsource-parser has approximately 54,172,832 downloads per week and 2 known dependent packages.