Module

std/http/mod.ts>Device

The Deno Standard Library
Go to Latest
interface Device
import { type Device } from "https://dotland.deno.dev/std@0.223.0/http/mod.ts";

The device as described by a user agent string.

Properties

readonly
model: string | undefined

The model of the device.

readonly
type:
| "console"
| "mobile"
| "table"
| "smartv"
| "wearable"
| "embedded"
| undefined

The type of device.

readonly
vendor: string | undefined

The vendor of the device.