@ethanfrogers/catbox-redis

2.0.2 • Public • Published

catbox-redis Build Status

Redis adapter for catbox

Lead Maintainer: Loic Mahieu

Options

  • host - the Redis server hostname. Defaults to '127.0.0.1'.
  • port - the Redis server port or unix domain socket path. Defaults to 6379.
  • socket - the unix socket string to connect to (if socket is provided, host and port are ignored)
  • password - the Redis authentication password when required.
  • database - the Redis database.
  • partition - this will store items under keys that start with this value. (Default: '')

Tests

The test suite expects:

  • a redis server to be running on port 6379
  • a redis server listenning to port 6378 and requiring a password: 'secret'
  • a redis server listenning on socket /tmp/redis.sock

See .travis.yml

redis-server&
npm test

Dependencies (2)

Dev Dependencies (3)

Package Sidebar

Install

npm i @ethanfrogers/catbox-redis

Weekly Downloads

1

Version

2.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • ethanfrogers