Skip to main content

@std/http@0.215.0

latest
Works with
It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun
It is unknown whether this package works with Browsers
It is unknown whether this package works with Deno
It is unknown whether this package works with Node.js
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Bun
JSR Score70%
Published2 years ago (0.215.0)
interface Device

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.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@std/http

Import symbol

import { type Device } from "@std/http/user_agent";
or

Import directly with a jsr specifier

import { type Device } from "jsr:@std/http/user_agent";