first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# default-browser
> Get the default browser
Works on macOS, Linux, and Windows.
## Install
```sh
npm install default-browser
```
## Usage
```js
import defaultBrowser from 'default-browser';
console.log(await defaultBrowser());
//=> {name: 'Safari', id: 'com.apple.Safari'}
```
## Related
- [default-browser-cli](https://github.com/sindresorhus/default-browser-cli) - CLI for this package