@cjser/default-browser-id
v5.0.1-cjser.2
Published
Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari
Downloads
67
Maintainers
Readme
default-browser-id
Get the bundle identifier of the default browser (macOS)
Example:com.apple.Safari
Install
npm install default-browser-idUsage
import defaultBrowserId from 'default-browser-id';
console.log(await defaultBrowserId());
//=> 'com.apple.Safari'cjser
This package is a CommonJS-compatible build generated by cjser for projects that still need require() support. The source version matches the original npm package version, with a cjser prerelease suffix for this generated build.
Original repository: https://github.com/sindresorhus/default-browser-id
