</>PackageGraphPackageGraph

default-browser

npmv5.5.0TypeScript

Get the default browser

44.9M
Weekly downloads
1
Dependents
5
Dependencies
94/100
Popularity

Overview

default-browser is an npm package that get the default browser. It is extremely widely used, with about 44.9M downloads per week and 1 known dependents in the graph. The latest version is 5.5.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need get the default browser and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (44.9M weekly downloads).
  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Relationship graph

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

opendefault-browser
default-browser dependencies dependents

Dependencies

Runtime (2)

bundle-name ^4.1.0default-browser-id ^5.0.0

Dev (3)

ava ^6.0.1tsd ^0.30.0xo ^0.56.0

Used by

Popular packages that depend on default-browser.

Alternatives to default-browser

opennpm

Open stuff like URLs, files, executables. Cross-platform.

121.8M/wk3 dependentsMITTS
happy-domnpm

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.

0/wk5 dependentsMITTS
plistnpm

Apple's property list parser/builder for Node.js and browsers

0/wk2 dependentsMITTS
@zip.js/zip.jsnpm

A JavaScript library to zip and unzip files in the browser, Deno and Node.js

0/wk2 dependentsBSD-3-ClauseTS
webidl-conversionsnpm

Implements the WebIDL algorithms for converting to and from JavaScript values

199.7M/wk2 dependentsBSD-2-Clause
convert-source-mapnpm

Converts a source-map from/to different formats and allows adding/changing properties.

199.6M/wk6 dependentsMIT
inheritsnpm

Browser-friendly inheritance fully compatible with standard node.js inherits()

184.5M/wk1 dependentsISC
josenpm

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes

98.5M/wk1 dependentsMITTS
ip-addressnpm

A library for parsing IPv4 and IPv6 IP addresses in node and the browser.

89.9M/wk2 dependentsMITTS
env-pathsnpm

Get paths for storing things like data, config, cache, etc

87.7M/wk1 dependentsMITTS
@opentelemetry/apinpm

Public API for OpenTelemetry

67.9M/wk4 dependentsApache-2.0TS
css.escapenpm

A robust polyfill for the `CSS.escape` utility method as defined in CSSOM.

47.6M/wk2 dependentsMIT

Frequently installed together

Version history

VersionPublishedLicense
5.5.0latest5 months agoMIT
5.4.08 months agoMIT
5.3.08 months agoMIT
5.2.12 years agoMIT
5.2.02 years agoMIT
5.1.02 years agoMIT
5.0.02 years agoMIT
4.0.03 years agoMIT
3.1.04 years agoMIT
3.0.05 years agoMIT
2.0.110 years agoMIT
2.0.010 years agoMIT
1.0.012 years agoMIT
0.1.112 years agoMIT
0.1.012 years agoMIT

Maintainers

Keywords

Funding

Frequently asked questions

How do I install default-browser?

Run `npm install default-browser` to add default-browser to your npm project.

What license is default-browser released under?

default-browser is distributed under the MIT license.

How popular is default-browser?

default-browser has approximately 44,943,080 downloads per week and 1 known dependent packages.