@avenga/linkinator
Version:
Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.
38 lines (37 loc) • 982 B
TypeScript
import type { SharedOptions } from './options.ts';
export type Flags = SharedOptions & {
config?: string;
skip?: string | string[];
format?: string;
silent?: boolean;
verbosity?: string;
urlRewriteSearch?: string;
urlRewriteReplace?: string;
};
export declare function getConfig(flags: Flags): Promise<{
concurrency?: number;
recurse?: boolean;
timeout?: number;
markdown?: boolean;
serverRoot?: string;
directoryListing?: boolean;
retry?: boolean;
retryNoHeader?: boolean;
retryNoHeaderCount?: number;
retryNoHeaderDelay?: number;
retryErrors?: boolean;
retryErrorsCount?: number;
retryErrorsJitter?: number;
extraHeaders?: {
[key: string]: string;
};
userAgent?: string;
bodyRegex?: string;
config?: string;
skip?: string | string[];
format?: string;
silent?: boolean;
verbosity?: string;
urlRewriteSearch?: string;
urlRewriteReplace?: string;
}>;