chrome-location

Approximates the current location of Google Chrome on your system

OTHER License

Downloads
26.2K
Stars
18
Committers
4

chrome-location experimental

Approximates the current location of Google Chrome on your system.

Originally sourced from karma-chrome-launcher.

Usage

location = require('chrome-location')

Returns the path to Google Chrome as a string.

CLI Usage

stdout path to Chrome:

> chrome-location
# /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

Open Chrome (remember to use quotes as Chrome's path usually has spaces in it):

> "`chrome-location`"

License

MIT. See LICENSE.md for details.