locate-chrome
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/locate-chrome package

0.1.1 • Public • Published

locate-chrome experimental

Find Google Chrome on your system.

Based on chrome-location.

Usage

var locateChrome = require('locate-chrome');
// Use a callback
locateChrome(function(l) {
  console.log(l);
});
// Use the returned Promise
locateChrome.then(function(l) {
  console.log(l);
});

CLI Usage

stdout path to Chrome (or null):

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

Open Chrome (you'll need to use quotes if Chrome's path has spaces in it):

> "`locate-chrome`"

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1,862
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1,862
  • 0.1.0
    0

Package Sidebar

Install

npm i locate-chrome

Weekly Downloads

1,862

Version

0.1.1

License

MIT

Last publish

Collaborators

  • davidtheclark