site-panzai/node_modules/default-browser-id
2026-11-13 13:57:04 +01:00
..
index.js first commit 2026-11-13 13:57:04 +01:00
license first commit 2026-11-13 13:57:04 +01:00
package.json first commit 2026-11-13 13:57:04 +01:00
readme.md first commit 2026-11-13 13:57:04 +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'