iso-kv

iso-kv is a simple key-value storage with support for multiple backend adapters (web storage, indexeddb, memory, sql, json file, etc)
Features
- Fully typed
- TTL (time to live) for keys
- Multiple backend adapters (web storage, indexeddb, memory, sql, json file, etc)
- On change hooks
- Easy to implement new adapters
- SQL adapter uses kysely
- Namespaced keys
- Filtered and ordered listing
Install
pnpm install iso-kv
Docs
Check https://hugomrdias.github.io/iso-repo/modules/iso_kv.html
License
MIT © Hugo Dias
Modules
- drivers/file
- drivers/idb
- drivers/memory
- drivers/sql
- drivers/web-storage
- index