browser-paths

1.1.5 • Public • Published

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

  • Google Chrome
  • Microsoft Edge
  • Thorium Browser
  • Chromium (fallback on the other generic chromium based browsers)
  • Mozilla Firefox

Package Sidebar

Install

npm i browser-paths

Weekly Downloads

2

Version

1.1.5

License

Apache-2.0

Unpacked Size

19.7 kB

Total Files

9

Last publish

Collaborators

  • albertopasqualetto