Download files with progress in Electron via window.fetch
- 📅
- 📝 631 words
- 🕙 3 minutes
- 📦 Development
- 🏷️ JavaScript
- 💬 1 response
Working on Atom lately, I need to be able to download files to disk. We have ways to achieve this, but they do not show the download progress. This leads to confusion and sometimes frustration on larger downloads such as updates or large packages.
There are many npm libraries out there, but they either don’t expose a progress indicator, or they bypass Chrome (thus not using proxy settings, caching and network inspector) by using Node directly.