zheng 5360931737 webpack há 10 meses atrás
..
index.js 5360931737 webpack há 10 meses atrás
license 5360931737 webpack há 10 meses atrás
package.json 5360931737 webpack há 10 meses atrás
readme.md 5360931737 webpack há 10 meses atrás

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'