Open a webbrowser cross platform (with pkg)
Just a simple tool based on issue from pkg WORKAROUND made by: -> axe312ger
Install
npm install pkg-open
Tested on
✔️ Arch Linux
✔️ Windows 10
❓ Os X
Example
const pkgOpen = require('opn-pkg');
pkgOpen('https://hackaday.io');