Files
Camilou.fr/VUEJS/myapp/node_modules/default-browser-id
Camilla Schoeser 6a71f91e2f ajout du site
2026-05-29 21:38:59 +02:00
..
2026-05-29 21:38:59 +02:00
2026-05-29 21:38:59 +02:00
2026-05-29 21:38:59 +02:00
2026-05-29 21:38:59 +02: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'