/brave-location

Approximates the current location of the Brave browser across platforms.

Primary LanguageJavaScriptMIT LicenseMIT

brave-location workflow npm

Approximates the current location of the Brave browser across platforms.

Usage

Via Node.js:

// Returns the path to brave as a string.
const braveLocation = require('brave-location')

console.log(braveLocation())
// /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

Via CLI:

> npx brave-location
# /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

Related projects

License

MIT (c) Cezar Augusto.