Home

Awesome

connect-derby

Derby session store for Connect.
Build Status

Installation

$ npm install connect-derby

Usage

var derby = require('derby');
var express = require('express');
var DerbyStore = require('connect-derby')(express)
var app = express();

...

var store = derby.createStore({
  db: {db: mongo, redis: redis}
});

...

app.use(express.session({
  secret: 'APP SECRET',
  store: new DerbyStore({store: store})
}))

Options