|
6 ماه پیش | |
---|---|---|
.. | ||
index.js | 6 ماه پیش | |
license | 6 ماه پیش | |
package.json | 6 ماه پیش | |
readme.md | 6 ماه پیش |
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'