interface CheckResult

Result of checking a single URL.

Properties

The URL that was checked.

parent: URL | undefined

The page containing the link, undefined for seed URLs.

ok: boolean

Whether the URL loaded successfully (2xx status).

status: number | undefined

HTTP status code, undefined for network errors.

reason: string | undefined

Error message for failed requests.

isPath: boolean

Whether the URL is on the same host as the seed.

durationMs: number

Time in milliseconds to complete the request.

Usage

import { type CheckResult } from ".";