river.ts
Type-safe SSE and WebSocket event streaming for TypeScript
All Skills in This Repository (1)
Pure Emerald Level IndicatorsFrequently Asked Questions
FAQPage SchemaHow to install river.ts?โผ
Run `npx skills add Bewinxed/river.ts --all -g -y` in your terminal to install this skill globally.
What does river.ts do?โผ
It lets you define typed event schemas once and use them for both Server-Sent Events and WebSockets, with automatic chunking, reconnection, and cleanup.
Does river.ts support request/response over WebSocket?โผ
Yes. The RiverSocketAdapter supports RPC-style requests with typed responses, timeouts, and concurrent pending requests.
Which frameworks work with river.ts?โผ
It works with express-like backends, modern frontend frameworks like Svelte, and any WebSocket implementation including Bun.
Is river.ts type-safe?โผ
Yes. Event payloads and responses are fully typed, so TypeScript catches mismatched data at compile time on both server and client.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core