0a5ab058a6
- Angular 12 application with PrimeNG components - 5 existing Cypress e2e test suites - SCSS styling with BEM naming convention - i18n support (10 languages) - Leaflet map integration - Complete component hierarchy and routing structure This baseline will be used for Angular → React migration.
25 lines
397 B
Markdown
25 lines
397 B
Markdown
# 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
|