Download and store files inside electron app
<p>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).</p>

<p>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.</p>

<p>So far, I've found a npm plugin <code>request</code> (<a href="https://github.com/request/request" rel="noreferrer">link</a>) to check whether user is connected to the internet or not.</p>

<p>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?</p>

<p>Any help will be appreciated.</p>