1.0.3 • Published 6 years ago
happy-ua v1.0.3
h-ua
According the UA to judge the current environment
Quick start
clone /src/h-ua.js simple start
const enviorment = window.HAPPY_UA();
or npm install happy-ua --save use es6 modules
import ua from 'happy-ua';
const enviorment = ua();
More
you can get these in difference enviorment
wechat
mqq
weibo
android // android mobile browser
ios // ios mobile browser
brower // Desktop browser
Preview
Easy Test