mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 01:00:20 +08:00
default-browser-id
Get the bundle identifier of the default browser (macOS)
Example:com.apple.Safari
Install
$ npm install default-browser-id
Usage
import defaultBrowserId from 'default-browser-id';
console.log(await defaultBrowserId());
//=> 'com.apple.Safari'