UNPKG

read-browser-cookies

Version:

Node.js version of `--cookies-from-browser` from yt-dlp

8 lines (7 loc) 529 B
import debugFactory from 'debug'; export declare const baseDebug: debugFactory.Debugger; export type ArrayItems<T extends any[]> = T extends Array<infer Item> ? Item : never; export declare function notImplemented(): void; export declare function noop(): void; export declare function defineCrossPlatform<M extends (...args: any[]) => any>(options: Partial<Record<'mac' | 'win' | 'linux', M>>): M; export declare function execCrossPlatform(options: Partial<Record<'mac' | 'win' | 'linux', () => void>>, useNoop?: boolean): void;