Skip to content

API Reference > Interfaces > IResult

IResult ​

js
{
    ua: "",
    browser: {},
    cpu: {},
    device: {},
    engine: {},
    os: {}
}

Properties ​

ua: string ​

The user-agent string of the current instance.

browser: IBrowser ​

The browser name, version, major version, and type.

cpu: ICPU ​

The CPU architecture.

device: IDevice ​

The device type, vendor, and model.

engine: IEngine ​

The browser engine name and version.

os: IOS ​

The operating-system name and version.

Inherited methods ​

is(), toString(), withClientHints(), and withFeatureCheck() are inherited from IData.

UAParser.js v2 is licensed under AGPLv3 or PRO licenses.