
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
@keyvhq/redis
Advanced tools
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 @keyvhq/core @keyvhq/redis
const KeyvRedis = require('@keyvhq/redis')
const Keyv = require('@keyvhq/core')
const keyv = new Keyv({
store: new KeyvRedis('redis://user:pass@localhost:6379')
})
keyv.on('error', handleConnectionError)
Any valid Redis
options will be passed directly through:
const KeyvRedis = require('@keyvhq/redis')
const Keyv = require('@keyvhq/core')
const keyv = new Keyv({
store: new KeyvRedis('redis://user:pass@localhost:6379', {
disable_resubscribing: true
})
})
Or you can reuse a previously declared Redis instance:
const KeyvRedis = require('@keyvhq/redis')
const Keyv = require('@keyvhq/core')
const Redis = require('ioredis')
const redis = new Redis('redis://user:pass@localhost:6379')
const keyv = new Keyv({ store: new KeyvRedis(redis) })
@keyvhq/redis © Luke Childs, released under the MIT License.
Maintained by Microlink with help from contributors.
microlink.io · GitHub microlinkhq · Twitter @microlinkhq
1.6.18 (2022-07-12)
Note: Version bump only for package @keyvhq/monorepo
FAQs
Redis storage adapter for Keyv
The npm package @keyvhq/redis receives a total of 2,900 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 0 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.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.