{"library":"useragent","type":"library","category":null,"description":"The `useragent` package, currently at version 2.3.0, is an abandoned Node.js library designed for parsing user agent strings. It was developed to provide high accuracy by leveraging hand-tuned regular expressions derived from Browserscope's research, aiming to correctly identify browser names and versions where generic parsers might fail. The library differentiated itself through a benchmark-driven approach, claiming superior performance with a pre-compiled regular expression library and deferred parsing for OS and device information. It also offered an optional feature to fetch live, updated parsing rules from remote servers, requiring additional `yamlparser` and `request` dependencies. However, the package has not seen updates since its last publish 8 years ago, indicating it is no longer actively maintained and its user agent data is significantly out of date, making it unsuitable for modern applications.","language":"javascript","status":"abandoned","version":"2.3.0","tags":["javascript","agent","browser","browserscope","os","parse","parser","ua","ua-parse"],"last_verified":"Wed May 27","install":[{"cmd":"npm install useragent","imports":["const useragent = require('useragent');","const agent = useragent.parse(userAgentString);","const agent = useragent.parse(userAgentString); console.log(agent.toAgent());"]},{"cmd":"yarn add useragent","imports":[]},{"cmd":"pnpm add useragent","imports":[]}],"homepage":null,"github":"https://github.com/3rd-Eden/useragent","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/useragent","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/useragent/compatibility"}}