I'm working on an app that on the first run will have to download files (images jpg/png) via API from the web and then store it locally so online connection won't be necessary anymore (user can run update when online and download newer data via api if there will be any updates available).
I'm aware that's very uncommon way how desktop app works but the main goal is to synchronize the desktop app data with web app.
So far, I've found a npm plugin request
(link) to check whether user is connected to the internet or not.
I'm not sure is it possible to download and store files inside electron app (so it will be invisible outside the app) ? Can You recommend necessary plugins / tools to achieve such goal?
Any help will be appreciated.