Authored by htoooth

fix

Showing 1 changed file with 0 additions and 11 deletions
const useragnet = require('useragent');
const us = 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36';
const result = useragnet.lookup(us);
console.log(result.family, result.toVersion());
console.log(result.os.family, result.os.toVersion());