Options
All
  • Public
  • Public/Protected
  • All
Menu

The Document aptitude allows Loops to enable basic parsing of files including XLSX.

Hierarchy

  • Document

Index

Methods

  • readPDF(data: Uint8Array): Promise<PDFOutput>
  • Takes a PDF and outputs the text content inside

    Parameters

    • data: Uint8Array

    Returns Promise<PDFOutput>

    • A promise containing PDFOutput
  • readPDFWithOcr(data: Uint8Array): Promise<PDFOutput>
  • Take a PDF and return output with ocr result for images

    Parameters

    • data: Uint8Array

    Returns Promise<PDFOutput>

    • A Promise containing PDFOutputWithOcrResult
  • xlsxDecode(data: Uint8Array): Promise<Workbook>
  • Decodes XLSX data into a workbook object.

    Parameters

    • data: Uint8Array

    Returns Promise<Workbook>

    • A promise containing Workbook.
  • xlsxEncode(workbook: Workbook): Promise<Uint8Array>
  • Encodes a workbook object into XLSX data

    Parameters

    Returns Promise<Uint8Array>

    • A promise containing Uint8Array XLSX data.

Generated using TypeDoc