tier-session-file-store
v1.0.3
Published
file store for tier's builtin session
Downloads
3
Readme
file store for tier's builtin session
Installation
npm install --save tier-session-file-store
Simple usage
var tier = require('tier');
var app = tier();
var FileStore = require('tier-session-file-store');
var store = new FileStore({dir: 'session'});
app.use(session({secret: 'xxx', store: store}));
Options
- dir: default 'session'
- clean: the interval to clean expired session files. default 1h
License
Licensed under MIT
Copyright (c) 2015 kiliwalk