@nexusts/sse
v0.9.6
Published
Server-Sent Events streaming
Downloads
1,600
Readme
@nexusts/sse
NexusTS — Bun-native fullstack framework
Description
Server-Sent Events streaming.
Type-safe SseStream wrapping Hono's streamSSE. Auto-serialization, idempotent close(), Last-Event-ID reconnection support.
Install
This module is part of the NexusTS monorepo. Each module is published as its own npm package under the @nexusts/ scope.
Most apps start with just the core:
bun add @nexusts/coreThen add this module only if you need it:
bun add @nexusts/ssePeer dependencies
None. No external dependencies.
Usage
import { /* public API */ } from "@nexusts/sse";See the user guide and the example app for a working demo.
License
MIT — see the root LICENSE.
