opera-location
Approximates the current location of the Opera browser across platforms.
Usage
Via Node.js:
// Returns the path to opera as a string.
const operaLocation = require('opera-location')
console.log(operaLocation())
// /Applications/Opera.app/Contents/MacOS/Opera
Via CLI:
> opera-location
# /Applications/Opera.app/Contents/MacOS/Opera
Open opera:
> "`opera-location`"
License
MIT (c) Jandrey Oliveira.