Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

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

关于 About

🔌 Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.

语言 Languages

TypeScript95.0%
JavaScript3.7%
HTML1.4%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
61
Total Commits
峰值: 11次/周
Less
More

核心贡献者 Contributors