@amplitude/ua-parser-js

Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data. Supports browser & node.js environment

useragent

Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing