Skip to content

a1motion/detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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;
}