method BrokenLinkChecker.prototype.preprocessUrl
BrokenLinkChecker.prototype.preprocessUrl(fn: (url: URL) => URL): BrokenLinkChecker

Returns a new BrokenLinkChecker that transforms discovered URLs before deduplication and checking.

Parameters

fn: (url: URL) => URL

Return Type

Usage

import { BrokenLinkChecker } from ".";