
ua-parser-modern: TypeScript UA Parser for Browser & Device
ua-parser-modern: a TypeScript ESM library that parses browser, OS, device type, CPU architecture, and rendering engine from any user-agent string. Key highlights: Named exports: parseBrowser , parseOS , parseDevice , parseEngine , parseCPU Lazy evaluation — each section parses only on first access Tree-shakeable: import only what your project needs Custom regex extension API for proprietary crawlers and internal clients Brave and iPadOS detection beyond standard UA regex matching Works in browser and Node.js. A modern, functional alternative to ua-parser-js. 👉 Blog Post 👉 GitHub Repo 👉 Live Demo
Continue reading on Dev.to Webdev
Opens in a new tab



