zheng 6c3f2333fd 修改 hace 12 horas
..
index.js 6c3f2333fd 修改 hace 12 horas
license 6c3f2333fd 修改 hace 12 horas
package.json 6c3f2333fd 修改 hace 12 horas
readme.md 6c3f2333fd 修改 hace 12 horas

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'