sindresorhus / default-browser-id

Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'

About

Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari

License:MIT License


Languages

Language:JavaScript 100.0%