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, wslThe 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'));