chrome-finder

find a executable chrome in your system automatic

ISC 8 个版本
安装
npm install chrome-finder
yarn add chrome-finder
pnpm add chrome-finder
bun add chrome-finder
README

Npm Package Build Status Build Status Dependency Status Npm Downloads

chrome-finder

find a executable chrome in your system automatic

Use

const findChrome = require('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.7 2020-04-10
1.0.6 2019-10-23
1.0.5 2018-08-29
1.0.4 2018-08-10
1.0.3 2018-04-10
1.0.2 2017-09-14
1.0.1 2017-07-02
1.0.0 2017-07-01