![Npm Downloads](http://img.shields.io/npm/dm/chrome-finder.svg?style=flat-square)
chrome-finder
Search for any installed Google Chrome/Chromium executables and return the path to the first one. Fork of chrome-finder by gwuhaolin.
Installation
Usage
const findChrome = require('@vlasky/chrome-finder');
const chromePath = findChrome();
- if the
chrome
executable is not found, an error Error('no chrome installations found')
will be thrown - if the
chrome
executable is found, but the platform is not one of ['win32', 'darwin', 'linux']
, an error Error('platform not support')
will be thrown.
Use Case
chrome-finder has been used in: