Numbers Produce Meaning

    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();
    

    Keywords

    none

    Install

    npm i socket.io-redis-with-shared

    DownloadsWeekly Downloads

    24

    Version

    0.1.10

    License

    none

    Last publish

    Collaborators

    • kos