Skip to content

pombredanne/electron-dl

 
 

Repository files navigation

electron-dl Build Status

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

About

Simplified file downloads for your Electron app

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%