|
3 月之前 | |
---|---|---|
.. | ||
index.js | 3 月之前 | |
license | 3 月之前 | |
package.json | 3 月之前 | |
readme.md | 3 月之前 |
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'