|
hai 4 meses | |
---|---|---|
.. | ||
index.js | hai 4 meses | |
license | hai 4 meses | |
package.json | hai 4 meses | |
readme.md | hai 4 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'