package
Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari
npm install default-browser-idGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Get the bundle identifier of the default browser (macOS)
Example:com.apple.Safari
npm install default-browser-idimport defaultBrowserId from 'default-browser-id';
console.log(await defaultBrowserId());
//=> 'com.apple.Safari'Estimated unpacked size across 1 packages.
3.1 kB
Includes dependencies.