Approximates the current location of the Brave browser across platforms.
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
- chrome-location
- chrome-location2 (like
chromium-location
with fallback support to Chromium) - firefox-location
- edge-location
- vivaldi-location
- opera-location
MIT (c) Cezar Augusto.