IDB-Keyval is a tiny promise-based key-value store built on top of IndexedDB for simple browser persistence. It provides a much smaller API than full IndexedDB wrappers and is designed to remain tree-shakeable. Developers can store structured-clonable values and retrieve them asynchronously by key. It includes single and batch operations for reading, writing, and deleting data, along with clear, key, value, and entry helpers. Its update helper queues changes to avoid common non-atomic read-modify-write problems. Custom stores are supported, while more complex indexing, iteration, transactions, and schema management are intentionally left to fuller IndexedDB libraries.
Features
- Promise-based key-value storage
- Tree-shakeable lightweight library
- Single and batch read/write operations
- Atomic batch writes and queued updates
- Key, value, entry, and clear helpers
- Custom IndexedDB store support
Categories
LibrariesFollow IDB-Keyval
Other Useful Business Software
$300 Free Credits to Build on Google Cloud
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of IDB-Keyval!