crossws
JSON →Cross-platform WebSocket server toolkit supporting Node.js, Deno, Bun, and Cloudflare Workers. Version 0.4.5 provides a unified hooks API with typed events, prebundled ws for Node.js with optional uWebSockets adapter, and tree-shakable ESM exports. It is maintained by the h3js organization and follows a regular release cadence. Key differentiators: zero per-connection callback overhead, conditional exports for each platform, and TypeScript-first developer experience.