انتقل إلى المحتوى الرئيسي

Class: PDFReader

Read the text of a PDF

Implements

Constructors

constructor

new PDFReader(): PDFReader

Returns

PDFReader

Methods

loadData

loadData(file, fs?): Promise<Document<Metadata>[]>

Parameters

NameTypeDefault value
filestring | URLundefined
fsGenericFileSystemdefaultFS

Returns

Promise<Document<Metadata>[]>

Implementation of

BaseReader.loadData

Defined in

packages/core/src/readers/PDFReader.ts:10