@effortlessmotion/pdf-to-md
    Preparing search index...

    Function auditWords

    • Audit a --debug-words dump against a Markdown file. Every recognized word must land on its page. Invalid evidence or absent page provenance throws a PdfToMdError with code AUDIT_INPUT.

      Parameters

      • wordsPath: string

        path to a --debug-words JSON-lines dump ({page, text, ...} per line)

      • mdPath: string

        path to the markdown file to check the dump against

      Returns AuditResult