import { UserAgent } from "https://deno.land/x/oak@v13.1.0/deps.ts";
A representation of user agent string, which can be used to determine environmental information represented by the string. All properties are determined lazily.
Methods
toJSON(): { browser: Browser; cpu: Cpu; device: Device; engine: Engine; os: Os; ua: string; }
Converts the current instance to a JSON representation.
toString(): string
Converts the current instance to a string.
[Symbol.for("Deno.customInspect")](inspect: (value: unknown) => string): string
Custom output for Deno.inspect
.
[Symbol.for("nodejs.util.inspect.custom")](): string
depth: number,
options: any,
inspect: (value: unknown, options?: unknown) => string,
Custom output for Node's
util.inspect
.