Spaces:
Paused
Paused
|
Download node_modules/default-browser/readme.md from Shreyansh327/mcp-client: direct link, hf CLI and curl.
- Browser
- Download file 397 Bytes
-
https://huggingface.co/spaces/Shreyansh327/mcp-client/resolve/main/node_modules/default-browser/readme.md
- Command line
-
hf download hf://spaces/Shreyansh327/mcp-client/node_modules/default-browser/readme.md
-
curl -L -o readme.md https://huggingface.co/spaces/Shreyansh327/mcp-client/resolve/main/node_modules/default-browser/readme.md
397 Bytes
| # 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 | |