Back to Explore

sindresorhus/default-browser-id

GitHub
1 watchersOpen source

Last release: 6 months ago

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

  • Actively maintained: the repository has recent activity (last upstream push on 2025-11-14) and published updates (v5.0.1 on 2025-11-14).
  • Update cadence appears low to moderate, with the last prior published update before v5.0.1 being v5.0.0 on 2023-12-18, suggesting roughly yearly updates rather than frequent releases.

AI summary generated Today

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

Recent updates

  • v5.0.1

    6 months ago

    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

    12/18/2023

    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

    8/31/2023

    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

    3/7/2021

    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