2025-01-24 22:06:21 +01:00
2025-01-22 00:40:45 +02:00
2023-12-07 01:41:02 +01:00
2024-01-29 17:31:21 +01:00
2023-12-07 01:41:02 +01:00
2025-01-22 11:40:00 +02:00
2025-01-22 13:15:30 +02:00
2024-10-18 23:16:13 +09:00
2023-12-07 01:41:02 +01:00
2024-01-29 17:31:21 +01:00
2024-08-07 13:01:08 +02:00
2023-12-07 01:41:02 +01:00
2024-10-18 23:21:32 +09:00
2024-08-06 20:53:00 +02:00

crossws

npm version npm downloads

Elegant, typed, and simple toolkit to implement cross-platform WebSocket servers.

👉 📖 documentation

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
  • Clone this repository
  • Install the latest LTS version of Node.js
  • Enable Corepack using corepack enable
  • Install dependencies using pnpm install
  • Run examples using pnpm play: scripts

License

Published under the MIT license. Made by @pi0 and community 💛


🤖 auto updated with automd

Description
No description provided
Readme MIT 1.6 MiB
Languages
TypeScript 99.4%
JavaScript 0.6%