1.1.5 • Published 9 years ago

innkeeper-storeredis v1.1.5

Weekly downloads
1
License
MIT
Repository
github
Last release
9 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

9 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago