Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ crossws Public
forked from h3js/crossws

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

License

posva/crossws

Β 
Β 

Repository files navigation

⛨ 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

About

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

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • TypeScript 100.0%