codeql-action/node_modules/default-browser-id
github-actions[bot] 40a500c743 Update checked-in dependencies 2023-07-13 09:09:17 +00:00
..
index.js Update checked-in dependencies 2023-07-13 09:09:17 +00:00
license Update checked-in dependencies 2023-07-13 09:09:17 +00:00
package.json Update checked-in dependencies 2023-07-13 09:09:17 +00:00
readme.md Update checked-in dependencies 2023-07-13 09:09:17 +00:00

readme.md

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'