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.