client-info
v0.0.5
Published
Get client information, include os, browser, browser-shell, app
Readme
client-info
Usage
Install
$ npm install --save client-infoExample
let clientInfo = require('client-info');
clientInfo.getBrowser()
// => {arch:'x86', os:'Linux', name:'Chrome', version:'42', fullVersion:'42.1246.0.12'}
clientInfo.getEnv()
// => 'weixin' or 'browser' or 'alipay'

