keyv-redis

Redis storage adapter for Keyv

You should upgrade to keyv@2 and used the scoped Redis adapter @keyv/redis
Last updated 3 years ago by lukechilds .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install keyv-redis 
SYNC missed versions from official npm registry.

keyv-redis keyv

Redis storage adapter for Keyv

Build Status Coverage Status npm

Redis storage adapter for Keyv.

TTL functionality is handled directly by Redis so no timestamps are stored and expired keys are cleaned up internally.

Install

npm install --save keyv keyv-redis

Usage

const Keyv = require('keyv');

const keyv = new Keyv('redis://user:pass@localhost:6379');
keyv.on('error', handleConnectionError);

Any valid redis.createClient() options will be passed directly through.

e.g:

const keyv = new Keyv('redis://user:pass@localhost:6379', { disable_resubscribing: true });

License

MIT © Luke Childs

Current Tags

  • 1.3.4                                ...           latest (3 years ago)

13 Versions

  • 1.3.4 [deprecated]           ...           3 years ago
  • 1.3.3 [deprecated]           ...           3 years ago
  • 1.3.2 [deprecated]           ...           3 years ago
  • 1.3.1 [deprecated]           ...           3 years ago
  • 1.3.0 [deprecated]           ...           3 years ago
  • 1.2.0 [deprecated]           ...           3 years ago
  • 1.1.1 [deprecated]           ...           3 years ago
  • 1.1.0 [deprecated]           ...           3 years ago
  • 1.0.1 [deprecated]           ...           3 years ago
  • 1.0.0 [deprecated]           ...           3 years ago
  • 0.2.0 [deprecated]           ...           3 years ago
  • 0.1.0 [deprecated]           ...           3 years ago
  • 0.0.0 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (10)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |