UNPKG

ua-parser-js

Version:

Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent & Client Hints data. Supports browser & node.js environment

8 lines (6 loc) 381 B
// Type definitions for device-detection submodule of UAParser.js v2.0.7 // Project: https://github.com/faisalman/ua-parser-js // Definitions by: Faisal Salman <https://github.com/faisalman> import type { IResult } from "../main/ua-parser"; export function getDeviceVendor(model: string): string | undefined; export function isAppleSilicon(resultOrUA: IResult | string): boolean;