Mohammad Asif cf937194cb Removed un-waned things 1. 5 months atrás
..
index.js cf937194cb Removed un-waned things 1. 5 months atrás
license cf937194cb Removed un-waned things 1. 5 months atrás
package.json cf937194cb Removed un-waned things 1. 5 months atrás
readme.md cf937194cb Removed un-waned things 1. 5 months 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'