client-info
Package | client-info |
Description | Get client information, include os, browser, browser-shell, app wrap. |
Usage
Install
$ npm install --save client-info
Example
let clientInfo = ; clientInfo// => {arch:'x86', os:'Linux', name:'Chrome', version:'42', fullVersion:'42.1246.0.12'} clientInfo// => 'weixin' or 'browser' or 'alipay'