1.1.5 • Published 8 years ago

innkeeper-storeredis v1.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

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.

1.1.5

8 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago