Keyv

k/v store for JS.

Visit website ↗

Profile updated

Console’s review

· Reviewed by

What we like

Super simple k/v store API for JS. Defaults to in-memory with no dependencies, but has adapters for Redis, Mongo, SQLite, Postgres, MySQL. Handles all JSON types (supports custom serialization) with a Promise-based API. Supports TTLs and namespaces. Open source. Plugins for extra functionality e.g. memoize a function.

Tradeoffs

Limited to set, get, has, delete and clear functions. If you want more sophisticated options e.g. increment or setting fields on a hash, you’ll need to use something else e.g. Redis.

Is Keyv a fit?

Based on Console’s review published on 2023-07-13. Summary updated .

Who it’s for

Developers needing a simple key-value store for JavaScript

Why consider it

Provides a simple key-value store API with support for various adapters and data types

Keep in mind

Limited functionality compared to other stores

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-07-13. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Key facts

Last checked

FactDetailsSource
Platforms Node.js Source ↗

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.