Interactive Angular 19 demo for @sda/notification-elements-ui with 6 sections: Bell & Feed, Notification Center, Inbox, Comments & Threads, Mention Input, and Full-Featured layout. Includes mock data, dark mode toggle, and real-time event log. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
|