1.6.0 • Published 1 year ago

@deanvangreunen/browser-detection v1.6.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Installation

Import the library

import { getBrowserInfo } from '@deanvangreunen/browser-detection';

Usage

await this promised based library and it will return all required info about the browser.

let browserInfo = await getBrowserInfo();

Output

{
  "browser": {
    "name": "Mozilla",
    "version": "5.0"
  },
  "platform": {
    "name": "Windows",
    "version": "10.0"
  },
  "isMobile": false,
  "supportedAPI": {
    "permissionQuery": {
      "enabled": true,
      "camera": true,
      "microphone": true
    }
  }
}

Supported Platforms

  • OS:
    • Windows, MacOS, Android, iOS, iPod, iPad, Linux
  • Device:
    • Mobile, Tablet, Desktop
  • Microphone Permission Support
  • Camera Permission Support
1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

1 year ago

1.4.9

1 year ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.6

2 years ago

1.4.5

2 years ago

1.4.4

2 years ago

1.4.3

2 years ago

1.4.2

2 years ago

1.4.1

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago