For those looking for a pretty decent (and small) wrapper around IndexDB, I've had some good luck using localforage
https://github.com/localForage/localForage
I believe its maintained by Mozilla still.
There's also idb-keyval
https://github.com/localForage/localForage
I believe its maintained by Mozilla still.
There's also idb-keyval
https://developers.google.com/web/updates/2019/03/kv-storage
I'm not totally agreed with the idea of inbuilt modules, but the API is very pleasant.
I work on a fairly large project that relied on localforage for a long time. However, we have since moved to our own library to resolve a number of small issues we had with localforage.