https://github.com/ragingwind/electron-bin-path
Find a path of electron bin installed in local or global
https://github.com/ragingwind/electron-bin-path
Last synced: 24 days ago
JSON representation
Find a path of electron bin installed in local or global
- Host: GitHub
- URL: https://github.com/ragingwind/electron-bin-path
- Owner: ragingwind
- License: mit
- Created: 2016-01-11T03:46:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-17T21:05:22.000Z (about 10 years ago)
- Last Synced: 2025-09-10T09:02:30.646Z (10 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# electron-bin-path [](https://travis-ci.org/ragingwind/electron-bin-path)
> Find a path of electron bin installed in local or global node_modules
## Install
```
$ npm install --save electron-bin-path
```
## Usage
```js
const bin = require('electron-bin-path');
bin().then(p => {
//=> './node_modules/.bin/electron'
});
```
## API
### bin()
return promise. resolving with the path first found.
## License
MIT © [ragingwind](http://ragingwind.me)