Socket
Book a DemoInstallSign in
Socket

clout-redis-session

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clout-redis-session

Clout module to leverage Redis for sessions

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

clout-redis-session

Install

In the directory of your clout-js application, do the following;

  • Install this package
npm install clout-redis-session
  • Add this module to package.json
{
    ...
    "modules": ["clout-redis-session"]
    ...
}

Configure

Create a new file redis.default.js or redis.<YOUR_ENV>.js in /conf directory with the following JavaScript.

module.exports = {
    session: {
        redis: {
            host: '<REDIS_HOST>',
            port: '<REDIS_PORT>',
            prefix: 'sess'
        }
    }
};

Keywords

clout

FAQs

Package last updated on 01 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts