// use npm
npm i browser-type-device
// use yarn
yarn add browser-type-device
// use pnpm
pnpm i browser-type-device
// 使用
import { getBrowserType,
getIEversion,
getNavigator,
isFast,
isPC,
isPhone,
getDeviceType } from 'get-browser-version'
.....
wflnana / browser-type-device Goto Github PK
View Code? Open in Web Editor NEW获取浏览器版本、模式,当前环境(PC、手机)