0.2.0 • Published 7 years ago
chromium-path v0.2.0
chromium-path
Getting path for chromium / chrome, it returns paths of chromium / chrome installed on your system
Install
$ yarn add chromium-path
or
$ npm install chromium-path
Usage
const chromiumPath = require('chromium-path');
chromiumPath().then(res => console.log(res));
//=> { 'google-chrome': '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome', 'google-chrome-canary': '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary', chromium: '/Applications/Chromium.app/Contents/MacOS/Chromium' }
License
MIT © Jimmy Moon