JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13289393
  • Score
    100M100P100Q228696F
  • License MIT

Get the bundle identifier of the default browser (OS X). Example: com.apple.Safari

Package Exports

  • default-browser-id

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (default-browser-id) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

default-browser-id Build Status

Get the bundle identifier of the default browser (OS X)
Example: com.apple.Safari

Usage

$ npm install --save default-browser-id
var defaultBrowserId = require('default-browser-id');

defaultBrowserId(function (err, browserId) {
    console.log(browserId);
    //=> com.apple.Safari
});

CLI

$ npm install --global default-browser-id
$ default-browser-id --help

  Example
    default-browser-id
    com.apple.Safari

License

MIT © Sindre Sorhus