default-browser-id
npmv5.0.1Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari
Overview
default-browser-id is an npm package that get the bundle identifier of the default browser (macOS). Example: com.apple.Safari. It is extremely widely used, with about 45.2M downloads per week and 1 known dependents in the graph. The latest version is 5.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need get the bundle identifier of the default browser (macOS). Example: com.apple.Safari and value a battle-tested, widely-adopted solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Large, well-established user base (45.2M weekly downloads).
- Clear open-source license (MIT).
- Lean dependency tree (2 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of default-browser-id.
Dependencies
Dev (2)
Used by
Popular packages that depend on default-browser-id.
Alternatives to default-browser-id
Get the default browser
Apple's property list parser/builder for Node.js and browsers
A JavaScript library to zip and unzip files in the browser, Deno and Node.js
Open stuff like URLs, files, executables. Cross-platform.
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
Converts a source-map from/to different formats and allows adding/changing properties.
Implements the WebIDL algorithms for converting to and from JavaScript values
Browser-friendly inheritance fully compatible with standard node.js inherits()
Public API for OpenTelemetry
HTML5 `FormData` for Browsers and Node.
Lightweight browser detector
A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.
Version history
| Version | Published | License |
|---|---|---|
| 5.0.1latest | 8 months ago | MIT |
| 5.0.0 | 2 years ago | MIT |
| 4.0.0 | 2 years ago | MIT |
| 3.0.0 | 5 years ago | MIT |
| 2.0.0 | 10 years ago | MIT |
| 1.0.4 | 11 years ago | MIT |
| 1.0.3 | 11 years ago | MIT |
| 1.0.2 | 11 years ago | MIT |
| 1.0.1 | 11 years ago | MIT |
| 1.0.0 | 12 years ago | MIT |
| 0.1.2 | 12 years ago | MIT |
| 0.1.1 | 12 years ago | MIT |
| 0.1.0 | 12 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install default-browser-id?
Run `npm install default-browser-id` to add default-browser-id to your npm project.
What license is default-browser-id released under?
default-browser-id is distributed under the MIT license.
How popular is default-browser-id?
default-browser-id has approximately 45,185,953 downloads per week and 1 known dependent packages.