File size: 480 Bytes
d4f5807
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# default-browser-id

> Get the [bundle identifier](https://developer.apple.com/library/Mac/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/plist/info/CFBundleIdentifier) of the default browser *(macOS)*\
> Example: `com.apple.Safari`

## Install

```sh
npm install default-browser-id
```

## Usage

```js
import defaultBrowserId from 'default-browser-id';

console.log(await defaultBrowserId());
//=> 'com.apple.Safari'
```