socket.io-adapter (2.5.5)
Published 2026-02-24 14:05:12 +00:00 by atheaadmin
Installation
registry=npm install socket.io-adapter@2.5.5"socket.io-adapter": "2.5.5"About this package
socket.io-adapter
Default socket.io in-memory adapter class.
Compatibility table:
| Adapter version | Socket.IO server version |
|---|---|
| 1.x.x | 1.x.x / 2.x.x |
| 2.x.x | 3.x.x |
How to use
This module is not intended for end-user usage, but can be used as an interface to inherit from other adapters you might want to build.
As an example of an adapter that builds on top of this, please take a look at socket.io-redis.
License
MIT
Dependencies
Dependencies
| ID | Version |
|---|---|
| debug | ~4.3.4 |
| ws | ~8.17.1 |
Development Dependencies
| ID | Version |
|---|---|
| @types/debug | ^4.1.12 |
| @types/expect.js | ^0.3.32 |
| @types/mocha | ^10.0.1 |
| @types/node | ^14.11.2 |
| expect.js | ^0.3.1 |
| mocha | ^10.2.0 |
| nyc | ^15.1.0 |
| prettier | ^2.8.1 |
| socket.io | ^4.7.4 |
| socket.io-client | ^4.7.4 |
| ts-node | ^10.9.1 |
| typescript | ^4.9.4 |