jaredwray/keyv
Simple key-value storage with support for multiple backends observed · 2026-08-28
Health v2 · maintenance only
98/100
- Activity 99
- Release rhythm 96
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 10
- age_days: 3344
- days_rel: 30
- days_push: 8
- n_releases_24m: 56
Adoption not part of the score
3187 stars · 202 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Keyv is a TypeScript key-value storage library providing a consistent interface across multiple backends via storage adapters (Redis, Postgres, MySQL, SQLite, MongoDB, Memcache, etcd, DynamoDB, Cloudflare KV, and in-memory). It supports TTL-based expiry, compression, serialization, and namespaces, making it suitable as a cache or persistent key-value store.
Use cases
- add caching to a node.js app with redis or sqlite backend
- swap key-value storage backends without changing code
- store session data with ttl expiry
- cache api responses in express or fastify
- persist key-value data in cloudflare workers
- add cache support to my own npm module
When to choose
- you need a unified key-value API across many storage backends
- you want TTL-based caching in Node.js or the browser
- you want to make your library's storage backend pluggable
When to avoid
- you need complex queries, joins, or relational data
- you need a distributed cache with built-in eviction policies like a dedicated Redis deployment
- you are not in the JavaScript/TypeScript ecosystem
Facets
library · maturity active
caching database serialization compression databases web-development backend developer-tools bun browser cross-platform key-value-store storage-adapters ttl cache redis sqlite monorepo nodejs typescript
5 sources
- readme: https://github.com/jaredwray/keyv · fetched 2026-08-28 · 84dd1e066e22
- homepage: https://keyv.org · fetched 2026-08-29 · fd54892b1ed8
- site_page: https://keyv.org/docs · fetched 2026-08-29 · 0e669f3e84ba
- registry_npm: https://registry.npmjs.org/keyv · fetched 2026-08-29 · 60555e70c0fb
- site_page: https://keyv.org/releases · fetched 2026-08-29 · 9858d117e5b7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jaredwray/keyv | main | 98 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem