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