createBeacon(config)
resolve
Return null when there is no twin for a path. The caller then serves normal HTML, so an unmapped page is never hidden from a crawler.
analytics
onError is worth wiring
fetch only rejects on transport failure. Without onError, a 404 from a misconfigured endpoint is indistinguishable from a successful send, and the dashboard simply stays empty forever.
beacon build
Writes a Markdown twin next to every HTML page in a directory.
--check in CI is the useful one: it fails the build when someone edits a page and forgets to regenerate, rather than shipping a twin that disagrees with the HTML.
Adapters
Install pages with working code for each: Next.js, Fetch frameworks, Express, Cloudflare Workers.

