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.220.0/http/user_agent.ts";

The browser as described by a user agent string.

Properties

readonly
major: string | undefined

The major version of a browser.

readonly
name: string | undefined

The name of a browser.

readonly
version: string | undefined

The version of a browser.