get-chrome

0.0.2 • Public • Published

get-chrome

Find Google Chrome's local path based on current system.

Introduction

This module provide simple method which returns local chrome path depending on platforms.

This codes are based on chrome-finder of chrome-launcher module.

Supports

Supports 4 platforms: darwin, linux, win32, wsl

The 3 platforms(darwin, linux, win32) are detected from nodejs envrionment variable process.platform.

Simple usage

var getChrome = require('getChrome');
console.log(getChrome());

Based on anthoer platform like macOS.

var getChrome = require('getChrome');
console.log(getChrome('darwin'));

Readme

Keywords

Package Sidebar

Install

npm i get-chrome

Weekly Downloads

33

Version

0.0.2

License

MIT

Last publish

Collaborators

  • mrlee23