Configuration
Every call takes an optional second argument. Anything you leave out falls back to the exported DEFAULTS.
Options
Tuning the crawl
One page. { maxPages: 1 }. The fastest useful run, and the right choice when you audit a specific URL rather than a site.
A section. Point the start URL at the section and keep maxDepth low. The crawler stays on the same origin, so a link to another domain is checked for reachability but never crawled.
A whole small site. Raise maxPages to the page count you expect and maxDepth to 5 or more. Watch report.pagesScanned to confirm the crawl reached everything.
A large site. Raise concurrency before you raise maxPages. Be careful: the link rules also fetch every unique outbound URL once, so a page with 200 links generates 200 requests regardless of the crawl settings.
Concurrency applies to a single host. A high value on a small server is a load test nobody asked for. Start at 5 and raise it only against infrastructure you own or have permission to hit.
Choosing categories
Categories map to rule id prefixes:
core-seo · content · links · images · structured-data · security · crawlability · url-structure · social-media · internationalization · legal · analytics · eeat · performance · accessibility
only runs first, then skip removes from what is left. Passing both is allowed but rarely what you want.