SkillAgentSearch skills...

Crossws

๐Ÿ”Œ Cross-platform WebSocket Servers for Node.js, Deno, Bun and Cloudflare Workers.

Install / Use

/learn @h3js/Crossws
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

crossws

<!-- automd:badges -->

npm version npm downloads

<!-- /automd -->

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.

[^1]: crossws supports Node.js via npm:ws (prebundled) or uWebSockets.js.

Contribution

<details> <summary>Local development</summary>
  • 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
</details> <!-- /automd -->

License

<!-- automd:contributors license=MIT author="pi0" -->

Published under the MIT license. Made by @pi0 and community ๐Ÿ’› <br><br> <a href="https://github.com/h3js/crossws/graphs/contributors"> <img src="https://contrib.rocks/image?repo=h3js/crossws" /> </a>

<!-- /automd --> <!-- automd:with-automd -->

๐Ÿค– auto updated with automd

<!-- /automd -->

Related Skills

View on GitHub
GitHub Stars668
CategoryDevelopment
Updated1d ago
Forks37

Languages

TypeScript

Security Score

80/100

Audited on Mar 30, 2026

No findings