Files
WAI_Project_VUE/node_modules/default-browser-id
2025-11-24 23:24:06 +08:00
..
vue
2025-11-24 23:24:06 +08:00
vue
2025-11-24 23:24:06 +08:00
vue
2025-11-24 23:24:06 +08:00
vue
2025-11-24 23:24:06 +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'