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

3.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'

Package Sidebar

Install

npm i default-browser-id@3.0.0

Version

3.0.0

License

MIT

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus