socket-controllers
JSON →A TypeScript library that provides class-based controllers for handling WebSocket events using decorators. Current stable version is 0.3.1. Developed by the TypeStack team, it allows organizing WebSocket handling in a structured, object-oriented manner similar to Express or routing-controllers. It relies on reflect-metadata and optionally a DI container like TypeDI. It supports socket.io and integrates well with TypeScript projects. Differentiators include declarative decorators (@OnConnect, @OnMessage) and automatic dependency injection.
Resources
packagesocket-controllers ↗
API endpoints
full doc /v1/registry/socket-controllers