@avenga/linkinator
Version:
Find broken links, missing images, etc in your HTML. Scurry around your site and find all those broken links.
10 lines (9 loc) • 313 B
TypeScript
import type { CrawlOptions } from './crawler.ts';
import type { ElementMetadata } from './types.ts';
export type ParsedUrl = {
link: string;
error?: Error;
url?: URL;
metadata?: ElementMetadata;
};
export declare function getLinks(response: Response, options: CrawlOptions): Promise<ParsedUrl[]>;