Package Exports
- default-browser
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (default-browser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
default-browser 
Get the default browser (OS X)
Install
$ npm install --save default-browser
Usage
var defaultBrowser = require('default-browser');
defaultBrowser(function (err, browser) {
console.log(browser);
//=> { name: 'Safari', id: 'com.apple.Safari' }
});
CLI
You can also use it as a CLI app by installing it globally:
$ npm install --global default-browser
Usage
$ default-browser
Which will for example output Safari
.