aimpress-chatbot/node_modules/default-browser-id
“SamoilenkoVadym” 195299ece0 Initial commit
2025-04-27 17:05:18 +01:00
..
index.js Initial commit 2025-04-27 17:05:18 +01:00
license Initial commit 2025-04-27 17:05:18 +01:00
package.json Initial commit 2025-04-27 17:05:18 +01:00
readme.md Initial commit 2025-04-27 17:05:18 +01: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'