idbkv-chunk-store
Abstract chunk store implementation built on idb-kv: a small IndexedDB wrapper that automatically batches for performance.
Install
npm install idbkv-chunk-store
Usage
var IdbkvChunkStore =var store = 10name: 'example' // data will persist to future instances with this same name Default='idbkv-chunk-store'length: 37 // allows partial final chunks Default=InfinitybatchInterval: 10 // sets batch interval for idb-kv Default=10msstore
Compatibility
idb-kv uses async functions, so those need to be supported to use this library.