Skip to content
forked from unjs/crossws

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

License

Notifications You must be signed in to change notification settings

CS-Birb/crossws

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

84 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%