Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/albertopasqualetto/browser-paths
A simple package that retrieves the path of the most known browsers (if installed), no matter the OS
https://github.com/albertopasqualetto/browser-paths
browser browsers chrome chromium collaborate edge firefox github gitkraken locate path student-vscode
Last synced: 2 months ago
JSON representation
A simple package that retrieves the path of the most known browsers (if installed), no matter the OS
- Host: GitHub
- URL: https://github.com/albertopasqualetto/browser-paths
- Owner: albertopasqualetto
- License: apache-2.0
- Created: 2022-12-17T18:38:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-22T22:41:44.000Z (5 months ago)
- Last Synced: 2024-09-23T18:08:40.574Z (4 months ago)
- Topics: browser, browsers, chrome, chromium, collaborate, edge, firefox, github, gitkraken, locate, path, student-vscode
- Language: JavaScript
- Homepage:
- Size: 21.5 KB
- Stars: 8
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# browser-paths
![](https://img.shields.io/bundlephobia/minzip/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
```javascript
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