node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »


Express Mongo Session Store

Use a mongodb instance to store session data. It uses Mongo-Start to provide the mongo connection. Just have the required config for connecting to your mongodb instance and there you go.

var session = require('express-session');
var MongoStore = require('express-mongo-session')(session);
    secret: 'foo',
    store: new MongoStore(options)