DataAdapter โ€บ append

DataAdapter.append() method

Add text to the end of a plaintext file.

Signature:

append(normalizedPath: string, data: string, options?: DataWriteOptions): Promise<void>;

Parameters

ParameterTypeDescription
normalizedPathstringpath to file, use normalizePath() to normalize beforehand.
datastringthe text to append.
optionsDataWriteOptions(Optional) (Optional)

Returns:

Promise<void>