innkeeper-storeredis

    1.1.5 • Public • Published

    innkeeper-storeredis

    experimental

    innkeeper-storeredis is a memory store for inn-keeper which uses a Redis database.

    Usage

    NPM

    The following is a small example using this module with inkeeper-socket.io:

    var app = require('http').createServer( function(){} );
    var io = require( 'socket.io' )( app );
    var innkeeper = require( 'innkeeper-socket.io' );
    var innkeeperStoreRedis = require('innkeeper-storeredis');
    var redis = redis = require( 'redis' );
     
    var storeMemory = innkeeperStoreRedis(redis.createClient());
     
    var keeper = innkeeper({ 
      io: io,
      memory: storeMemory
    });
     
    app.listen( 8888 );

    License

    MIT, see LICENSE.md for details.

    Install

    npm i innkeeper-storeredis

    DownloadsWeekly Downloads

    0

    Version

    1.1.5

    License

    MIT

    Last publish

    Collaborators

    • njam3
    • mikkoh