2024-02-25 20:42:34 +01:00
2024-02-25 20:35:31 +01:00
2024-02-25 20:35:31 +01:00
2024-02-25 20:35:31 +01:00
2024-01-30 19:51:08 +01:00
2023-12-07 01:41:02 +01:00
2023-12-07 01:41:02 +01:00
2024-01-28 21:53:11 +01:00
2024-01-29 14:22:56 +01:00
2024-01-29 17:31:21 +01:00
2023-12-07 01:41:02 +01:00
2024-01-30 19:51:08 +01:00
2024-02-25 20:42:34 +01:00
2023-12-07 01:41:02 +01:00
2024-02-25 20:42:34 +01:00
2024-01-29 17:31:21 +01:00
2024-02-24 16:21:49 +01:00
2023-12-07 01:41:02 +01:00
2024-01-28 23:09:06 +01:00

⛨ CrossWS

npm version npm downloads

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

Important

This project and API are under development.

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%