UNPKG

nuxt-supported-browsers

Version:
12 lines (11 loc) 389 B
export interface BrowserInfo { name: string; version: number; } /** * Detects the user's web browser based on the User-Agent string. * * @param {string} ua - The User-Agent string to parse and detect the browser from. * @returns {BrowserInfo} - An object containing information about the detected browser. */ export declare function useDetectBrowser(ua: string): BrowserInfo;