socket.io-redis-with-shared

0.1.10 • Public • Published

socket.io-redis-with-shared

Socket.io Redis adapter with shared memory

It same as normal socket.io-redis adapter.

But have 1 feature. It allow to create a shared objects between instances. To share any data you could use:

socket.adapter.shared.someVar = "someValue";
socket.adapter.sync();

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.10
    1
    • latest

Version History

Package Sidebar

Install

npm i socket.io-redis-with-shared

Weekly Downloads

6

Version

0.1.10

License

none

Last publish

Collaborators

  • kos