UNPKG

linkinator

Version:

Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.

30 lines (29 loc) 837 B
export type Flags = { concurrency?: number; config?: string; recurse?: boolean; skip?: string | string[]; format?: string; silent?: boolean; verbosity?: string; timeout?: number; markdown?: boolean; checkCss?: boolean; checkFragments?: boolean; serverRoot?: string; directoryListing?: boolean; cleanUrls?: boolean; redirects?: 'allow' | 'warn' | 'error'; requireHttps?: 'off' | 'warn' | 'error'; allowInsecureCerts?: boolean; retry?: boolean; retryErrors?: boolean; retryErrorsCount?: number; retryErrorsJitter?: number; urlRewriteSearch?: string; urlRewriteReplace?: string; header?: string[]; statusCode?: string | string[]; statusCodes?: Record<string, string>; }; export declare function getConfig(flags: Flags): Promise<Flags>;