UNPKG

@ta-interaktiv/browsercheck

Version:
29 lines (19 loc) 513 B
# Browsercheck Provides various checks to figure out in what environment we're currently operating in. ## Installation ```bash yarn add @ta-interaktiv/browsercheck ``` ## Example ```js 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.](https://gitlab.com/ta-interaktiv/packages/tree/master/packages/browsercheck/docs)