zheng 6c3f2333fd 修改 пре 12 часа
..
index.js 6c3f2333fd 修改 пре 12 часа
license 6c3f2333fd 修改 пре 12 часа
package.json 6c3f2333fd 修改 пре 12 часа
readme.md 6c3f2333fd 修改 пре 12 часа

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'