akyuu-redis-session

1.1.0 • Public • Published

Akyuu Redis Session

Session stored in redis based on Akyuu.js.

It's based on connect-redis of Expressjs.

Installation

$ npm install --save akyuu-redis-session

Usage

Install this package and add configuration section below to your redisSession plugins section of configuration in Akyuu.js.

{
    enabled: true,
    secret: "SECRET",
    name: "NAME",
 
    // All other session parameters can be found on https://github.com/expressjs/session#options
 
    conn: {
        host: "redis-server",
        port: PORT,
 
        // All other redis parameters can be found on https://github.com/tj/connect-redis#options
    }
}

You may get full parameters list on https://github.com/tj/connect-redis#options and https://github.com/expressjs/session#options.

Readme

Keywords

Package Sidebar

Install

npm i akyuu-redis-session

Weekly Downloads

2

Version

1.1.0

License

MIT

Last publish

Collaborators

  • xadillax