UNPKG

@egjs/agent

Version:

Extracts browser and operating system information from the user agent string or user agent object(userAgentData).

5 lines (4 loc) 223 B
import { AgentInfo } from "./types"; export declare function getAccurateAgent(callback?: (result: AgentInfo) => void): Promise<AgentInfo> | null; declare function agent(userAgent?: string): AgentInfo; export default agent;