class UserAgent
A representation of user agent string, which can be used to determine environmental information represented by the string. All properties are determined lazily.
Constructors
new UserAgent(ua: string | null)Constructs a new instance.
Properties
Methods
[Symbol.for("Deno.customInspect")](inspect: (value: unknown) => string): stringCustom output for Deno.inspect.
Custom output for Node's
util.inspect.
Converts the current instance to a JSON representation.