mirror of
https://github.com/LukeHagar/crossws.git
synced 2025-12-06 04:19:26 +00:00
1f5411a902c1a81449f50d1b17d2997970d423eb
crossws
Elegant, typed, and simple toolkit to implement cross-platform WebSocket servers.
Features
🧩 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.
Contribution
Local development
License
Published under the MIT license.
Made by @pi0 and community 💛
🤖 auto updated with automd
Languages
TypeScript
99.4%
JavaScript
0.6%