8000 GitHub - sindresorhus/default-browser: Get the default browser
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sindresorhus/default-browser

Repository files navigation

default-browser

Get the default browser

Works on macOS, Linux, and Windows.

Install

npm install default-browser

Usage

import defaultBrowser from 'default-browser';

console.log(await defaultBrowser());
//=> {name: 'Safari', id: 'com.apple.Safari'}

Related

About

Get the default browser

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 5

0