loki-session 0.2.0
A session store for express-session powered by Loki.js. Requires Loki.js 1.1.x
##Installation##
##Todo##
##Example##
var express = require('express'),
session = require('express-session'),
store = require('loki-session'),
app = express();
app.use(session({
secret: '34PQ2R89t32kRxwF5QB6r4EmZQZGf73pek5TuSFae565FX8bT6GPfHSZ9t659ZYq',
name: 'loki-session',
resave: true,
store: store(__dirname + '/bin/db.json'),
saveUninitialized: true
}));
app.use(function(req, res) {
res.send('Session store powered by loki-session!');
});
app.listen(3000);