Mohammad Asif cf937194cb Removed un-waned things 1. | hai 5 meses | |
---|---|---|
.. | ||
index.js | hai 5 meses | |
license | hai 5 meses | |
package.json | hai 5 meses | |
readme.md | hai 5 meses |
Get the bundle identifier of the default browser (macOS)\ Example:
com.apple.Safari
$ npm install default-browser-id
import defaultBrowserId from 'default-browser-id';
console.log(await defaultBrowserId());
//=> 'com.apple.Safari'