Skip to content

Latest commit

 

History

History
44 lines (39 loc) · 821 Bytes

README.md

File metadata and controls

44 lines (39 loc) · 821 Bytes

WhatEnvIs

A simple tool of os and browser detection.

detect what

  • os: ios/android/macos/windows
  • device: phone/tablet/kindle/pc
  • browser: ie/chrome/firefox/opera/safari
  • app: wechat(ios/android)/alipay(ios/android)
{
  "android": false,
  "macos": "10_14_4",
  "windows": false,
  "ios": false,
  "ipad": false,
  "iphone": false,
  "windowsPhone": false,
  "androidPhone": false,
  "kindle": false,
  "ie": false,
  "edge": false,
  "firefox": false,
  "opera": false,
  "chrome": false,
  "chromeMobile": false,
  "safari": "12.1",
  "wechat": false,
  "alipay": false,
  "androidTablet": false,
  "windowsTablet": false,
  "phone": false,
  "tablet": false,
  "safariMobile": false,
  "iosWechat": false,
  "androidWechat": false,
  "iosAlipay": false,
  "androidAlipay": false,
  "pc": true
}