helium-paths
v1.0.0
Published
Get the path of the Helium browser binary easily across macOS, Windows and Linux
Downloads
170
Maintainers
Readme
Helium Paths
Possible paths or binary names of Helium in the current platform
Why?
- Well Documented
- Well Tested
- Zero dependencies
- Written with Love <3
- Fully open sourced
Usage
- Helium ships a single channel. There is no separate beta / dev / canary build
like Edge, so there are just two functions. On Linux the
.desktopentry is parsed as well, so AppImage installs are found too.
Javascript
import { getHeliumPath, getAnyHelium } from "./dist/index.js"
console.log(getHeliumPath())
// console.log(getAnyHelium())The output shall look like this according to your installation
// On macOS
// /Applications/Helium.app/Contents/MacOS/Helium
// On Windows
// C:\Users\you\AppData\Local\imput\Helium\Application\chrome.exe
// On Linux
// /usr/bin/heliumTypescript
import { getHeliumPath, getAnyHelium } from "helium-paths"
console.log(getHeliumPath())
console.log(getAnyHelium())Installation
$ npm install helium-paths
// or
$ yarn add helium-pathsAPI
import { getHeliumPath, getAnyHelium } from "helium-paths"getHeliumPath()returns the Helium binary path, or throws if it can't be found.getAnyHelium()is the same today, but use it if you don't want to care about specific channels later.
Both throw a plain { name: "helium-paths", message, ... } object when Helium isn't found, so wrap them in a try/catch if that is expected.
License
© 2026 Shirshak Bajgain
