trivialdb-session
v3.0.0
Published
TrivialDB-backed session store for Express and Connect
Downloads
3
Readme
TrivialDB Session Store
TrivialDB-backed session store for Express and Connect
Usage
const session = require('express-session');
const TrivialStore = require('trivialdb-session')(session);
app.use(session({
store: new TrivialStore({ namespace: 'some-ns', prettyPrint: true }),
secret: 'keyboard cat'
}));
Options
Supports all the same options as TrivialDB.