Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/mod.ts>Device

The Deno Standard Library
Latest
interface Device
import { type Device } from "https://deno.land/std@0.224.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.