Approximates the current location of the Edge browser across platforms.
Via Node.js:
// Returns the path to edge as a string.
const edgeLocation = require('edge-location')
console.log(edgeLocation())
// /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge
Via CLI:
> npx edge-location
# /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge
- chrome-location
- chrome-location2 (like
chromium-location
with fallback support to Chromium) - firefox-location
- brave-location
- vivaldi-location
- opera-location
MIT (c) Cezar Augusto.