The smallest possible key-value store on top of IndexedDB: get, set, del, keys.
When to use it
You only need simple key-value storage that works in service workers (unlike localStorage).
Get started
npm i idb-keyval
Source code, issues and documentation: github.com/jakearchibald/idb-keyval.