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
}));

Package Sidebar

Install

npm i jack-auth-redis

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dncrews