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