electron-dl
Simplified file downloads for your Electron app
Why?
- One function call instead of having to manually implement a lot of boilerplate.
- Saves the file to the users downloads directory instead of prompting.
- Shows download progress. Example on OS X:
Install
$ npm install --save electron-dl
Usage
const {app, BrowserWindow} = require('electron');
require('electron-dl')();
let win;
app.on('ready', () => {
win = new BrowserWindow({});
});
License
MIT © Sindre Sorhus