</>PackageGraphPackageGraph

default-browser-id

npmv5.0.1

Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari

Safe to adopt

Yes — default-browser-id scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 300 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 300 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 3.1 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding default-browser-id to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

3.1 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=18
Module format
ESM only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the default-browser-id README.

import defaultBrowserId from 'default-browser-id';

console.log(await defaultBrowserId());
//=> 'com.apple.Safari'

default-browser-id vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
default-browser-idthis page01MIT10 months ago
default-browser52.6M1MIT1 day ago
open130.4M4MIT1 day ago
plist14M2MIT1 day ago
happy-dom06MIT1 day ago
@zip.js/zip.js02BSD-3-Clause1 day ago

Dependencies

Declared by default-browser-id v5.0.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (2)

ava ^6.0.1xo ^0.56.0

Used by

Popular packages that depend on default-browser-id.

Relationship graph

Dependencies (left) and dependents (right) of default-browser-id.

default-browserdefault-browser-id
default-browser-id dependencies dependents

Release history

1 release in the last two years, typically about 102 days apart.

Recent versions of default-browser-id
VersionPublishedSizeLicense
5.0.1latest10 months ago3.1 KBMIT
5.0.02 years ago2.9 KBMIT
4.0.03 years ago3.4 KBMIT
3.0.05 years ago3.4 KBMIT
2.0.010 years agoMIT
1.0.411 years agoMIT
1.0.311 years agoMIT
1.0.211 years agoMIT
1.0.112 years agoMIT
1.0.012 years agoMIT
0.1.212 years agoMIT
0.1.112 years agoMIT
0.1.012 years agoMIT

Overview

default-browser-id is an npm package that get the bundle identifier of the default browser (macOS). Example: com.apple.Safari. It has 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 focused 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

  • 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.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use default-browser-id?

Yes — default-browser-id scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 300 days ago.

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?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on default-browser-id.

Is default-browser-id still maintained?

The most recent release of default-browser-id (v5.0.1) was published 10 months ago.

Does default-browser-id run install scripts?

No. default-browser-id does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.