
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@keyvhq/redis
Advanced tools
Redis storage adapter for Keyv
Redis storage adapter for Keyv.
TTL functionality is handled directly by Redis so no timestamps are stored and expired keys are cleaned up internally.
npm install --save keyv @keyv/redis
const Keyv = require('keyv');
const keyv = new Keyv('redis://user:pass@localhost:6379');
keyv.on('error', handleConnectionError);
Any valid Redis
options will be passed directly through.
e.g:
const keyv = new Keyv('redis://user:pass@localhost:6379', { disable_resubscribing: true });
Or you can manually create a storage adapter instance and pass it to Keyv:
const KeyvRedis = require('@keyv/redis');
const Keyv = require('keyv');
const keyvRedis = new KeyvRedis('redis://user:pass@localhost:6379');
const keyv = new Keyv({ store: keyvRedis });
Or reuse a previous Redis instance:
const KeyvRedis = require('@keyv/redis');
const Redis = require('ioredis');
const Keyv = require('keyv');
const redis = new Redis('redis://user:pass@localhost:6379');
const keyvRedis = new KeyvRedis(redis);
const keyv = new Keyv({ store: keyvRedis });
MIT © Luke Childs
FAQs
Redis storage adapter for Keyv
The npm package @keyvhq/redis receives a total of 1,647 weekly downloads. As such, @keyvhq/redis popularity was classified as popular.
We found that @keyvhq/redis demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.