uaparserjs: Parse 'User-Agent' Strings

uaparserjsR Documentation

Parse 'User-Agent' Strings

Description

This package parses HTTP user agent strings and returns user agent, device and OS information. It does this by providing a wrapper around the user agent parser provided by the ua-parser project's Javascript reference parser (<https://github.com/ua-parser>)

Details

The package incorporates regular expressions and test data from the ua parser project that are copyrighted by Google and the UA Parser contributors and are used under an Apache 2 license. See the UA parser project for details.

Author(s)

Bob Rudis (@hrbrmstr) Greg Hunt

See Also

Useful links:


uaparserjs documentation built on Aug. 28, 2026, 5:09 p.m.