Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 382 Bytes

readme.md

File metadata and controls

30 lines (24 loc) · 382 Bytes

detect

Browser/OS detections

Install

yarn add @a1motion/detect

Usage

import detect from "@a1motion/detect";

detect = {
  ie: boolean;
  safari: boolean;
  firefox: boolean;
  opera: boolean;
  chrome: boolean;
  mac: boolean;
  win: boolean;
  ios: boolean;
  android: boolean;
  linux: boolean;
  desktop: boolean;
  mobile: boolean;
}