UNPKG

@teamsparta/cross-platform-logger

Version:

```typescript import * as CPL from "@teamsparta/cross-platform-logger";

13 lines (12 loc) 491 B
export declare const isClient: () => boolean; export declare const getCookie: (name: any) => string | undefined; export declare const setCookie: (name: any, value: any, days?: number | null) => void; export declare const getJSONfromUserInfoCookie: () => { _id: string; name: string; phone: string; email: string; is_kko: boolean; }; export declare const getUrlParams: (key: string) => string | null; export declare const matchPlatform: (ua: any) => RegExpExecArray | [];