Skip to content

DataAdapter.append method

DataAdapter › append

Official

Add text to the end of a plaintext file.

Signature:

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

Parameters:

Parameter Type Description
normalizedPath string path to file, use {@link normalizePath} to normalize beforehand.
data string the text to append.
options? DataWriteOptions | undefined (Optional)

Returns: Promise<void>