tg-bot-reminder/node_modules/default-browser-id
2023-08-13 16:48:04 +03:00
..
index.js initial commit 2023-08-13 16:48:04 +03:00
license initial commit 2023-08-13 16:48:04 +03:00
package.json initial commit 2023-08-13 16:48:04 +03:00
readme.md initial commit 2023-08-13 16:48:04 +03: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'