NeXTSTEP Programming Mastermind

default-browser

2.0.1 • Public • Published

default-browser Build Status

Get the default browser (macOS and Linux)

Install

$ npm install --save default-browser

Usage

const defaultBrowser = require('default-browser');
 
defaultBrowser().then(browser => {
    console.log(browser);
    //=> {name: 'Safari', id: 'com.apple.Safari'}
});

Related

License

MIT © Sindre Sorhus

install

npm i default-browser

Downloadsweekly downloads

3

version

2.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability