npm i navigator-info --save
var navigatorInfo = require("navigator-info");
navigatorInfo()
{
"device":"Mobile",
"language":"zh-cn",
"engine":"WebKit",
"browser":"Safari",
"os":"iPhone",
"version":"11.0"
}
💎use js to get brower navigator information ( 获取浏览器信息 ) - npm包名: navigator-info
npm i navigator-info --save
var navigatorInfo = require("navigator-info");
navigatorInfo()
{
"device":"Mobile",
"language":"zh-cn",
"engine":"WebKit",
"browser":"Safari",
"os":"iPhone",
"version":"11.0"
}
💎use js to get brower navigator information ( 获取浏览器信息 ) - npm包名: navigator-info
https://www.npmjs.com/package/navigator-info