default-browser-id
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/default-browser-id package

5.0.0 • Public • Published

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'

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i default-browser-id

    Weekly Downloads

    7,963,368

    Version

    5.0.0

    License

    MIT

    Unpacked Size

    3.02 kB

    Total Files

    4

    Last publish

    Collaborators

    • sindresorhus