granth-storage-indexeddb
v0.2.11
Published
IndexedDB storage backend for granth. Works where OPFS does not, including Safari private browsing.
Downloads
1,475
Readme
granth-storage-indexeddb
IndexedDB storage backend for granth.
The fallback that keeps apps working where OPFS does not exist — most importantly Safari private browsing, which exposes none at all.
It is the same SQLite engine, not a second implementation: an in-memory database whose bytes are checkpointed into IndexedDB. Every query, index, trigger and migration behaves identically; only durability differs. Checkpoints are debounced and whole-file, so cost is O(database size).
Install
npm install granth-storage-indexeddbFull documentation: https://granthlabs.github.io
License
MIT
