Kizuki
    Preparing search index...

    Function extractPdf

    • Reads the text layer of a PDF, page by page. A PDF with more than maxPages pages is refused. Sections come from the PDF's outline (bookmarks) when it has one, otherwise one section per page titled by the page's first line.

      Parameters

      • bytes: Uint8Array
      • maxPages: number = MAX_PDF_PAGES

      Returns Promise<Extracted>