default-browser
Get the default browser
Last updated 3 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install default-browser 
SYNC missed versions from official npm registry.

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

Current Tags

  • 5.5.1                                ...           latest (3 months ago)

16 Versions

  • 5.5.1                                ...           3 months ago
  • 5.5.0                                ...           10 months ago
  • 5.4.0                                ...           a year ago
  • 5.3.0                                ...           a year ago
  • 5.2.1                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.0                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.0                                ...           6 years ago
  • 2.0.1                                ...           10 years ago
  • 2.0.0                                ...           11 years ago
  • 1.0.0                                ...           12 years ago
  • 0.1.1                                ...           13 years ago
  • 0.1.0                                ...           13 years ago
Maintainers (1)
Downloads
Total 43
Today 0
This Week 4
This Month 28
Last Day 0
Last Week 0
Last Month 14
Dependencies (2)
Dev Dependencies (3)
Dependents (3)

© 2010 - cnpmjs.org x YWFE | Home | YWFE