qmetrics.net

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.

Overview

Lowdb is a small embedded database for JavaScript applications. You read a JSON store into memory, mutate db.data with normal object and array code, then persist changes through write calls.

Presets cover async and sync JSON files, plus localStorage and sessionStorage adapters in the browser. Lower-level adapter classes let you swap storage backends, encryption, or serialization formats such as YAML via custom adapters built on text or data file helpers.

The API exposes read, write, and update helpers with atomic write safety noted in the documentation. In tests, file adapters can fall back to fast in-memory mode automatically. Lodash or similar libraries can extend query helpers when you avoid the default JSON preset.

Documentation warns that very large objects can slow writes because each save stringifies the whole document, and that clustered Node workloads are unsupported, pointing heavy deployments toward external databases instead.

Key features

  • In-memory JSON document store
  • JSON file async and sync adapters
  • Browser localStorage adapters
  • TypeScript-friendly typing
  • Atomic write safety
  • Pluggable custom adapters
  • Memory mode for unit tests
  • Lodash-friendly extension pattern

Use cases

  • Persist small app config to JSON files
  • Prototype Node services without a server DB
  • Store UI state in browser storage
  • Embed lightweight data in Electron tools

Tags

Similar software

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

Keyv

Promise-based key-value store with pluggable backends

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.

★ 3.2k⟳ 2 days agoMIT
Storage SolutionsDesktop/CLI app

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