https://github.com/ecrmnn/electron-disable-file-drop
Prevent dropped files from opening in electron apps
https://github.com/ecrmnn/electron-disable-file-drop
electron helpers
Last synced: over 1 year ago
JSON representation
Prevent dropped files from opening in electron apps
- Host: GitHub
- URL: https://github.com/ecrmnn/electron-disable-file-drop
- Owner: ecrmnn
- License: mit
- Created: 2017-02-27T19:52:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T16:09:45.000Z (over 8 years ago)
- Last Synced: 2025-03-19T07:51:36.458Z (over 1 year ago)
- Topics: electron, helpers
- Language: JavaScript
- Homepage: https://npmjs.com/electron-disable-file-drop
- Size: 2.93 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# electron-disable-file-drop
> Prevent dropped files from opening in electron apps
[](http://badge.fury.io/js/electron-disable-file-drop)
[](http://badge.fury.io/js/electron-disable-file-drop)
[](http://badge.fury.io/js/electron-disable-file-drop)
### Installation
```bash
npm install electron-disable-file-drop --save
```
### Usage
```javascript
require('electron-disable-file-drop');
//=> That's all folks
```
### License
MIT © [Daniel Eckermann](http://danieleckermann.com)