UNPKG

surgio

Version:

Generating rules for Surge, Clash, Quantumult like a PRO

19 lines (18 loc) 960 B
/** * Exapmle: * isSurge('Surge iOS/2920') * isSurge('Surge/1129 CFNetwork/1335.0.3.2 Darwin/21.6.0') */ export declare const isSurgeIOS: (ua: string | undefined, version?: string) => boolean; /** * Exapmle: * isSurge('Surge Mac/2408') */ export declare const isSurgeMac: (ua: string | undefined, version?: string) => boolean; export declare const isClash: (ua: string | undefined, version?: string) => boolean; export declare const isClashVerge: (ua: string | undefined, version?: string) => boolean; export declare const isClashMetaForAndroid: (ua: string | undefined, version?: string) => boolean; export declare const isStash: (ua: string | undefined, version?: string) => boolean; export declare const isQuantumultX: (ua: string | undefined, version?: string) => boolean; export declare const isShadowrocket: (ua: string | undefined, version?: string) => boolean; export declare const isLoon: (ua: string | undefined, version?: string) => boolean;