finds.dev

colyseus/colyseus.js

MOVED TO MONOREPO: https://github.com/colyseus/colyseus/tree/master/packages/sdk

View on GitHubHomepage ↗

★ 465TypeScriptMITupdated Dec 2025

// the take

This is the TypeScript/JavaScript client SDK for Colyseus, an authoritative multiplayer game server framework. It handles the WebSocket (or experimental HTTP/3) connection to a Colyseus room, state synchronization via schema/delta serializers, and auth/storage helpers. It's for people already building (or considering) a Colyseus-based multiplayer game, not a general networking library.

The transport layer is properly abstracted (ITransport, WebSocketTransport, H3Transport) so swapping WebSocket for WebTransport doesn't touch Room/Client code. Same goes for state sync: SchemaSerializer, FossilDeltaSerializer and NoneSerializer are pluggable, which matches Colyseus's actual room configuration options server-side rather than hardcoding one strategy. It ships first-class build targets for every bundler/runtime combo that matters for web games (Vite, Webpack, Snowpack, Node CJS/ESM, React Native, static HTML, Cocos Creator), with working example projects for each instead of just claiming compatibility. There's a real test suite covering room, client, HTTP and auth flows, not just a smoke test.

The repo itself says it has moved to the colyseus/colyseus monorepo (packages/sdk) — this standalone repo is now a redirect, so cloning or forking it gets you a dead end; anyone adopting it today should go straight to the monorepo instead. It only works against a Colyseus server, so you're locked into that ecosystem's room/matchmaking model, not a drop-in client for arbitrary game servers. H3Transport (HTTP/3/WebTransport) is still a fringe feature with patchy browser and infra support, so most users are stuck on plain WebSockets regardless of the abstraction. There's no visible fuzz or load testing for the delta/schema deserialization path, which is exactly the kind of code that breaks in subtle ways under packet loss or server version skew.

We read the README, the directory tree and a key source file in November 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
465
Forks
126
Language
TypeScript
License
MIT
Last commit
31 Dec 2025

// nearby

If colyseus.js isn't quite it.

All repos →