jack-auth-redis

1.0.2 • Public • Published

jack-auth-redis

NPM version Downloads

This Jack-Stack Plugin Configures express-session to use a redisstore instead of the memory store. If not configured, it fails to do so and console.warns you.

Configuration

You can either use node-config and set your variables with:

{
  db: {
    redis: {
      host: 'url',
      port: 6379
    }
  }
}

Or you can configure this plugin directly:

jack.add(require('jack-auth-redis').configure(
  host: 'url',
  port: 6379
}));

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i jack-auth-redis

    Weekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • dncrews