Class: PDFReader
Read the text of a PDF
Extends
Constructors
new PDFReader()
new PDFReader():
PDFReader
Returns
Inherited from
Methods
loadData()
Parameters
• filePath: string
Returns
Promise
<Document
<Metadata
>[]>
Inherited from
Source
packages/core/src/readers/type.ts:17
loadDataAsContent()
loadDataAsContent(
fileContent
):Promise
<Document
<Metadata
>[]>
Parameters
• fileContent: Buffer
Returns
Promise
<Document
<Metadata
>[]>