Nonlinear Performance Magnification
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

express-mongo-session

1.0.2 • Public • Published

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);
 
app.use(session({
    secret: 'foo',
    store: new MongoStore(options)
}));

install

npm i express-mongo-session

Downloadsweekly downloads

5

version

1.0.2

license

The Unlicense

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar