Derby session store for Connect.
$ npm install connect-derby
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})
}))
collection
Collection (optional, default:sessions
)