Skip to content

psirenny/connect-derby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • collection Collection (optional, default: sessions)

About

Derby session store for Connect.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published