Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/user_agent.ts>Browser

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface Browser
import { type Browser } from "https://deno.land/std@0.202.0/http/user_agent.ts";

Properties

readonly
major: string | undefined

The major version of a browser as represented by a user agent string.

readonly
name: string | undefined

The name of a browser as represented by a user agent string.

readonly
version: string | undefined

The version of a browser as represented by a user agent string.