CrossWS
runtime agnostic WebSockets
CrossWS
runtime agnostic WebSockets
Unified WebSocket API for Node.js, Deno, Bun and Cloudflare Workers.
Runtime Agnostic
Seamlessly integrates with Bun, Deno, Cloudflare Workers and Node.js (ws or uWebSockets.js)
Made for Performance
High-performance server hooks API designed to avoid creating callbacks per client but once.
Lightweight
Zero Dependency with bundled ws for Node.js support. Extremely lightweight and tree-shakable packaging with ESM and CJS support.
Developer Friendly
Typed Hooks API and human friendly logging support.