HckApm/node_modules/default-browser-id
minicx 99e5f883a3 second commit 2023-12-23 14:56:27 +03:00
..
index.js second commit 2023-12-23 14:56:27 +03:00
license second commit 2023-12-23 14:56:27 +03:00
package.json second commit 2023-12-23 14:56:27 +03:00
readme.md second commit 2023-12-23 14:56:27 +03: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'