SQLite-Backed Key-Value Store with JS-Like Object Manipulation
2024-12-22
A GitHub project introduces a key-value store built on SQLite, enabling JavaScript-like object manipulation with automatic JSON serialization. The `createDatabaseClient` function creates a parallel client with separate reader (`rdr`) and writer (`wtr`) components. The writer utilizes proxies for partial JSON updates, while the reader returns plain JavaScript objects. Comprehensive tests cover basic CRUD operations, nested updates, deletions, and array manipulations.