Skip to main content
Module

std/http/user_agent.ts>Device

Deno standard library
Go to Latest
interface Device
import { type Device } from "https://deno.land/std@0.221.0/http/user_agent.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.