albertopasqualetto / browser-paths

A simple package that retrieves the path of the most known browsers (if installed), no matter the OS
Apache License 2.0
8 stars 4 forks source link
browser browsers chrome chromium collaborate edge firefox github gitkraken locate path student-vscode

browser-paths

A simple package that retrieves the path of the most known browsers (if installed), no matter the OS.

If browser is not found, it returns null.

Other browsers (Opera, Brave, ...) will be added in future, feel free to help me!

Install

npm i browser-paths

Usage

import { getChromiumPath } from "browser-paths";    # or any other supported browser
path = getChromiumPath()

Supported Browsers