I am building an app with Electron that searches through a JSON object with Elasticlunr and prints to the HTML page. The JSON file is about 9 MB. The object needs to be loaded only once the first time the app starts. How can I store and retrieve this JSON object?
I have tried:
- Saving the object as the export of a JS file and importing into the window's main Javascript file
- Electron-storage and Electron-json-storage don't seem to be for such large files