node package manager

chrome-location

chrome-location experimental

Approximates the current location of Google Chrome on your system.

Originally sourced from karma-chrome-launcher.

Usage

NPM

location = require('chrome-location')

Returns the path to Google Chrome as a string.

CLI Usage

Remember to use quotes as chrome's path usually has spaces in it.

> "`chrome-location`"

License

MIT. See LICENSE.md for details.