
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@colyseus/ecs
Advanced tools
NOT READY TO USE
The current state of this repository is very messy - basically a bunch of glue code trying to make @colyseus/schema work along with ECSY.
If you're feeling brave enough, you're encouraged to continue performing some experiments with this repository and help it reach a not that bad state.
There are quite a few Entity Component Systems written in JavaScript available out there. I'm currently experimenting integrating @colyseus/schema with ECSY.
The goal of this project is to have a good way to use ECS along with Colyseus - being able to synchronize entities and components defined in the Entity Component System.
Component that extends from Schema.@colyseus/schema require the end user to to define the "schema" of the data structure
registerComponent() to replicate the definitions from @colyseus/schema (through the @type() annotation) into ECSY's schema.TagComponent that does not have any data on it. This conflicts with @colyseus/schema, as every Schema instance is required to hold at least one property.World into ~1236 bytes.
Make sure you create or join the room on the client by passing in a concrete type, not just the generic. For instance instead of:
await client.joinById<MyGameState>(roomId)
you should use
await client.joinById(roomId, {}, MyGameState)
FAQs
Entity Component System integration for Colyseus
The npm package @colyseus/ecs receives a total of 6 weekly downloads. As such, @colyseus/ecs popularity was classified as not popular.
We found that @colyseus/ecs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.