EventSource/Server-Sent Events Parser
JSON →eventsource-parser is a highly performant and source-agnostic streaming parser for Server-Sent Events (SSE) / EventSource data. It does not assume how the data stream is obtained, making it a versatile building block for various JavaScript environments like browsers, Node.js, and Deno. The current stable version is 3.0.7, with frequent releases addressing bug fixes, performance improvements, and ongoing maintenance. Key differentiators include its streaming nature, a `TransformStream` variant for modern environments, and its role as a low-level parser that can be integrated into custom networking stacks or clients, contrasting with higher-level clients like `eventsource-client` or Node.js polyfills like `eventsource`.
Traffic · last 30 days ↓50% vs prev 7d
top countries 🇺🇸 United States · 🇦🇺 Australia · 🇨🇦 Canada · 🇳🇴 Norway · 🇩🇪 Germany