qmetrics.net

Keyv

Promise-based key-value store with pluggable backends

Keyv screenshot

Keyv is a small Node-friendly key-value API with TTL support, defaulting to memory and switching to Redis, Postgres, SQLite, MongoDB, and other adapters.

Overview

Keyv is a compact, promise-based key-value store for JavaScript runtimes. The same application API works whether data lives in memory or in an external database, so you can start with an in-memory cache and later point the store option at a persistent adapter.

Keys are strings; values are JSON-serializable data, with Buffer and BigInt supported by the built-in serializer. Operations include get, set, has, delete, optional TTL on set and default instance TTL, and namespaces to isolate key sets on a shared backend.

Official storage adapters cover Redis, Valkey, MongoDB, SQLite, PostgreSQL, MySQL, Etcd, Memcache, DynamoDB, and Cloudflare KV, plus in-memory Map or LRU wrappers. Optional compression, encryption, superjson or msgpack serialization, sanitization hooks, and before/after hooks extend the core package.

The project notes adoption as the storage layer behind Cacheable, cache-manager, NestJS caching, and HTTP caching in got and cacheable-request. It runs on Node.js, Bun, and in browsers when configured appropriately.

Key features

  • Unified get set has delete API
  • TTL per key and defaults
  • Many official storage adapters
  • Built-in JSON serializer
  • Namespace key isolation
  • Optional encryption adapters
  • Hook and event telemetry
  • TypeScript generic value typing

Use cases

  • Application caching layers
  • Session storage abstraction
  • NestJS cache integration
  • Multi-store cache-manager setups
  • HTTP response caching backends

Tags

Similar software

lowdb

JSON file and browser local database

Lowdb stores and updates JSON documents in files or browser storage with plain JavaScript objects and optional TypeScript typing.

★ 22.6k⟳ 8 months agoMIT
Storage SolutionsDesktop/CLI app

memcached

Distributed in-memory key-value cache for dynamic apps

Memcached is a multithreaded, event-driven memory cache for small arbitrary values, meant to sit in a distributed deployment and ease load on databases and backends.

★ 14.3k⟳ 4 months agoBSD-3-Clause
Storage SolutionsSelf-hostable

Kinto

Minimal JSON document store with sync and sharing

Kinto is a minimalist JSON storage service with HTTP APIs for synchronisation, sharing, and permissioned buckets, collections, and records.

★ 4.4k⟳ yesterdayApache-2.0
Storage SolutionsSelf-hostable

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable