{"library":"better-sse","type":"library","category":null,"description":"Better SSE is a robust, dependency-less, and spec-compliant implementation of Server-Sent Events (SSE) written entirely in TypeScript. It provides a streamlined, framework-agnostic solution for pushing data from a server to clients over HTTP, making it an alternative to WebSockets for unidirectional data flows. Currently stable at version 0.16.1, the project demonstrates a consistent release cadence with updates addressing compatibility, new features like connection adapters and event batching, and continuous type improvements. Key differentiators include its full TypeScript support, extensive documentation, 100% test coverage, and compatibility across various Node.js frameworks and runtimes (e.g., Express, Hono, Fastify, Bun, Deno), operating directly over the HTTP protocol to reduce bandwidth and complexity compared to other real-time solutions.","language":"javascript","status":"active","version":"0.16.1","tags":["javascript","server-sent-events","sse","realtime","real-time","tcp","events","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install better-sse","imports":["import { createSession } from 'better-sse'","import { createChannel } from 'better-sse'","import type { Session } from 'better-sse'"]},{"cmd":"yarn add better-sse","imports":[]},{"cmd":"pnpm add better-sse","imports":[]}],"homepage":"https://matthewwid.github.io/better-sse","github":"https://github.com/MatthewWid/better-sse","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/better-sse","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/better-sse/compatibility"}}