node js open url in browser code example
Example: nodejs open default browser on specific web page
$ npm install opn
//////////////////////////////////////////
var opn = require('opn');
// opens the url in the default browser
opn('http://sindresorhus.com');
// specify the app to open in
opn('http://sindresorhus.com', {app: 'firefox'});