0.0.2 • Published 6 years ago
get-chrome v0.0.2
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'));