🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

express-mongo-session

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-mongo-session

MongoDB session store for express

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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)
}));

Keywords

express

FAQs

Package last updated on 16 Apr 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts