Cross platform Node.js Utility to open urls in browser
- Android
- Windows
- MacOS
- Linux
// Plain example
const { open } = require('out-url');
open('http://itz-azhar.github.io');
//or
require('o-url').open('http://itz-azhar.github.io');
// With error handling
const { open } = require('out-url');
open('http://itz-azhar.github.io')
.then(res => console.log('RES', res)) // Resolves with Done!
.catch(err => console.log('ERR', err));