This package has been deprecated

Author message:

use chrome-launcher instead

which-chrome

0.1.1 • Public • Published

which-chrome

Build Status Dependency Status npm version

get Google Chrome path

Installation

npm

$ npm install which-chrome karma-chrome-launcher

Usage

var whichChrome = require('which-chrome');
 
console.log(whichChrome.Chrome);        // => "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
console.log(whichChrome.ChromeCanary);  // => "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
console.log(whichChrome.Chromium);      // => null
console.log(whichChrome.Dartium);       // => null

CLI

$ which-chrome Chrome
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
$ which-chrome ChromeCanary
/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary
$ which-chrome Chromium
echo $?
1
$ which-chrome Dartium
echo $?
1

License

The MIT license. Please see LICENSE file.

Readme

Keywords

none

Package Sidebar

Install

npm i which-chrome

Weekly Downloads

3

Version

0.1.1

License

MIT

Last publish

Collaborators

  • sasaplus1