I\'ve been scouring the Electron documentation to try and figure out how to persist data in an Electron app. For example, in iOS or OS X, you could use NSUserDefaults to store u
You can go for Indexeddb, which is most likely suitable for client-side app needs due to:
All in all it's a good choice. The only caveat is that chromium cores may automatically wipe out indexeddb to reclaim disk space when storage is under strain if navigator.storage.persist
is not set, or when the host machine is crashed leaving indexeddb in corrupted state.