Socket
Socket
Sign inDemoInstall

@ta-interaktiv/browsercheck

Package Overview
Dependencies
0
Maintainers
4
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ta-interaktiv/browsercheck

Small library to check for various browsers and screen sizes.


Version published
Weekly downloads
43
decreased by-90.14%
Maintainers
4
Install size
23.8 kB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 13 Mar 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc