Class: TextFileReader
Read a .txt file
Implements
Constructors
constructor
• new TextFileReader(): TextFileReader
Returns
Methods
loadData
▸ loadData(file
, fs?
): Promise
<Document
<Metadata
>[]>
Parameters
Name | Type | Default value |
---|---|---|
file | string | URL | undefined |
fs | CompleteFileSystem | defaultFS |