whatenvis

2.0.8 • Public • Published

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
}

Readme

Keywords

Package Sidebar

Install

npm i whatenvis

Weekly Downloads

2

Version

2.0.8

License

MIT

Unpacked Size

52.6 kB

Total Files

12

Last publish

Collaborators

  • xutou12