0.4.17 • Published 3 weeks ago
crossws
Licence
MIT
Version
0.4.17
Deps
0
Size
221 kB
Vulns
0
Weekly
0
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.
[^1]: crossws supports Node.js via npm:ws (prebundled) or uWebSockets.js.
Contribution
Local development
License
Published under the MIT license.
Made by @pi0 and community
auto updated with automd