Use node.js streams to read from / write to an IndexedDB.
github.com/atd-schubert/indexed-db-stream
atd-schubert/indexed-db-stream