npm

@ta-interaktiv/browsercheck
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

Browsercheck

Provides various checks to figure out in what environment we're currently operating in.

Installation

yarn add @ta-interaktiv/browsercheck

Example

import { browserCheck } from '@ta-interaktiv/browsercheck'

if (browserCheck.isIOS) {
  // do something iOS-specific here
}

if (browserCheck.isAndroid) {
  // do something Android-specific here
}

Documentation

Can be found here.

Package Sidebar

Install

npm i @ta-interaktiv/browsercheck

Weekly Downloads

84

Version

1.3.2

License

ISC

Unpacked Size

24.4 kB

Total Files

12

Last publish

Collaborators

  • s1co
  • dariush-mehdiaraghi
  • mrdz_tx
  • mathiaslutz
  • sebaa