1.0.9 • Published 2 years ago

@vlasky/chrome-finder v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Npm Package Dependency Status Npm Downloads

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

  • Add the package to your project:
    $ npm install @vlasky/chrome-finder

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:

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago