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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i jack-auth-redis

Weekly Downloads

2

Version

1.0.2

License

MIT

Last publish

Collaborators

  • dncrews