zheng 3cabbb3159 webpack 18 stundas atpakaļ
..
index.js 3cabbb3159 webpack 18 stundas atpakaļ
license 3cabbb3159 webpack 18 stundas atpakaļ
package.json 3cabbb3159 webpack 18 stundas atpakaļ
readme.md 3cabbb3159 webpack 18 stundas atpakaļ

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'