crossws
Unified WebSocket Servers
crossws
Unified WebSocket Servers
elegant, typed, and simple toolkit to implement cross-platform WebSocket servers.
๐งฉ Pluggable
Seamlessly integrates with Bun, Cloudflare Workers, Deno and Node.js and any compatible web framework.
๐ฆ Lightweight
Extremely lightweight and tree-shakable conditional ESM exports. Prebundled with ws for Node.js support.
๐ Made for Performance
High-performance and simple hooks API, without per-connection callback creation.
๐ Developer Friendly
Typed hooks API and developer-friendly object inspection.