适用于 Node.js、Deno、Bun 和 Cloudflare 工作者的跨平台 WebSocket 服务器。
Elegant, typed, and simple toolkit to implement cross-platform WebSocket servers.
Seamlessly integrates with Bun, Cloudflare Workers, Deno and Node.js and any compatible web framework.
✅ Prebundled with ws for Node.js support with alternative/much faster uWebSockets adapter.
Extremely lightweight and tree-shakable conditional ESM exports.
High-performance and simple hooks API, without per-connection callback creation.
Typed hooks API and developer-friendly object inspection.
[^1]: crossws supports Node.js via npm:ws (prebundled) or uWebSockets.js.
Local development
corepack enablepnpm installpnpm play: scriptsPublished under the MIT license. Made by @pi0 and community
_ auto updated with automd_
暂无开放 Issues,或尚未同步最近议题。