sindresorhus / Default Browser
Licence: mit
Get the default browser
Stars: ✭ 27
Programming Languages
javascript
184084 projects - #8 most used programming language
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
- default-browser-cli - CLI for this package
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].