Mohammad Asif cf937194cb Removed un-waned things 1. | 5 months atrás | |
---|---|---|
.. | ||
index.js | 5 months atrás | |
license | 5 months atrás | |
package.json | 5 months atrás | |
readme.md | 5 months atrás |
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'