Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari
MIT License
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'