Home > @rushstack/node-core-library > FileSystem > appendToFileAsync
FileSystem.appendToFileAsync() method
An async version of FileSystem.appendToFile().
Signature:
static appendToFileAsync(filePath: string, contents: string | Buffer, options?: IFileSystemWriteFileOptions): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
filePath | string | |
contents | string | Buffer | |
options | IFileSystemWriteFileOptions | (Optional) |
Returns:
Promise<void>