@a1motion/detect

Browser Detects

Usage no npm install needed!

<script type="module">
  import a1motionDetect from 'https://cdn.skypack.dev/@a1motion/detect';
</script>

README

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