Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 547 Bytes

readme.md

File metadata and controls

32 lines (18 loc) · 547 Bytes

electron-bin-path Build Status

Find a path of electron bin installed in local or global node_modules

Install

$ npm install --save electron-bin-path

Usage

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