Back to Explore

sindresorhus/default-browser-id

GitHub
2 watchersOpen source

Last release:

Provides a Node.js utility to determine the bundle identifier of the default web browser on macOS, for example com.apple.Safari. Useful when you need the installed default browser’s macOS identifier for integrations or system-specific logic.

Project status

  • The source appears to be in intermittent maintenance, with the most recent upstream update on 2025-11-14 and no further updates since then (as of 2026-09-10, about 10 months of inactivity).
  • Update cadence is sporadic, major changes landed in 2021, 2023, and again in late 2023, followed by a small follow-up update in 2025, which suggests an overall cadence of occasional updates rather than continuous releases.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v5.0.1

    v5.0.1 updates the default-browser-id macOS bundle identifier logic to correct the Safari bundle identifier casing. The release also bumps the package version from 5.0.0 to 5.0.1.

  • v5.0.0

    v5.0.0 is a major version that removes runtime dependencies and changes how the default browser bundle identifier is determined on macOS. The release notes are minimal and only mention dependency removal, but the code shows a substantial implementation change involving calling the `defaults` command and regex parsing.

  • v4.0.0

    This release is primarily a major version bump focused on modern Node.js support, requiring Node 18+. The code changes are mostly internal refactors plus dependency and tooling upgrades.

    Breaking
  • v3.0.0

    v3.0.0 makes two major changes: it requires a newer Node.js runtime and switches the package to pure ESM. These updates will affect how you import and run the library in existing CommonJS-based or older Node.js projects.

    Breaking