You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

electron-save-file

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-save-file

Electron save file

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
85
-32.54%
Maintainers
1
Weekly downloads
 
Created
Source

electron-save-file

Save file function for electron.

Handle both remote and local links and auto-detect file extensions via file-type module

Install

$ npm install electron-save-file --save

Usage

// in renderer
const saveFile = require('remote').require('electron-save-file');
saveFile('<path>') // should begins with 'http' or 'file://' or '/'
  .then(() => console.log('saved'))
  .catch(err => console.error(err.stack));

Acknowledgement

License

MIT © ewnd9

Keywords

electron

FAQs

Package last updated on 07 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts