sindresorhus

default-browser

Get the default browser

by sindresorhus

JavaScript

JavaScript98.3%
TypeScript1.7%

Commit activity

Last 12 weeks · 3 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
WillieRuemmele

On Windows, resolves the binary through the process PATH. This can produce unexpected results if the working directory or PATH contains a different executable. This change uses the fully-qualified path instead, consistent with how other packages in this ecosystem handle Windows system binaries (e.g. qualifies the same way).

WillieRuemmele · 2mo ago
AlexSeraphic

in windows.js the value of the variable match.groups = { id: "ChromeHTML.777DB3UDRZLQKML3NA3UVJA65E", } the values in windowsBrowserProgIds wont match the ids and throw exception windowsBrowserProgIds[id]=ChromeHTML: {name: 'Chrome', id: 'com.google.chrome'}

AlexSeraphic · 8mo ago
Structured data for AI agents

Repository: sindresorhus/default-browser. Description: Get the default browser Stars: 63, Forks: 10. Primary language: JavaScript. Languages: JavaScript (98.3%), TypeScript (1.7%). License: MIT. Latest release: v5.5.1 (2mo ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, kevva, connor4312, Richienb, WillieRuemmele.