National Pest Management
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

default-browser-id

2.0.0 • Public • Published

default-browser-id Build Status

Get the bundle identifier of the default browser (OS X)
Example: com.apple.Safari

Install

$ npm install --save default-browser-id

Usage

const defaultBrowserId = require('default-browser-id');
 
defaultBrowserId().then(browserId => {
    console.log(browserId);
    //=> 'com.apple.Safari'
});

License

MIT © Sindre Sorhus

install

npm i default-browser-id

Downloadsweekly downloads

24,841

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar