tier-session-file-store

    1.0.3 • Public • Published

    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

    Install

    npm i tier-session-file-store

    DownloadsWeekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • kiliwalk