0.0.5 • Published 5 years ago
client-info v0.0.5
client-info
Usage
Install
$ npm install --save client-info
Example
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'