crossws
Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.
Elegant, typed, and simple interface to implement platform-agnostic WebSocket servers.
๐ ๐ documentation
Features
๐งฉ Seamlessly integrates with, Bun, Deno, Cloudflare Workers and Node.js (ws || uWebSockets).
๐ High-performance server hooks, avoiding heavy per-connection events API (why)
๐ฆ No external dependencies, includes ws for Node.js support
๐ก Extremely lightweight and tree-shakable packaging with ESM and CJS support
๐ Developer-friendly object logging
This project and API are under development.
Contribution
Local development
License
Published under the MIT license. Made by @pi0 and community ๐