device-x-s
v1.0.5
Published
这是通过navigator.userAgent用来获取当前的设备
Downloads
2
Maintainers
Readme
#通过navigator.userAgent用来获取当前的设备
#example
import device from 'device-x-s'
console.log(device)
##返回对象包含以下设备
Object:{
android: false,
ios: false,
ipad: false,
iphone: false,
os: web
}