Skip to content

appendFile

appendFile(this, filename, data, cb?): void

Defined in: src/node/async.ts:220

Asynchronously append data to a file, creating the file if it not yet exists.

unknown

PathLike

FileContents

Callback

void

encoding Defaults to 'utf8'.

mode Defaults to 0644.

flag Defaults to 'a'.

appendFile(this, filename, data, options?, cb?): void

Defined in: src/node/async.ts:221

Asynchronously append data to a file, creating the file if it not yet exists.

unknown

PathLike

FileContents

EncodingOption & { mode?: Mode | undefined; flag?: OpenMode | undefined; }

Callback

void

encoding Defaults to 'utf8'.

mode Defaults to 0644.

flag Defaults to 'a'.

appendFile(this, filename, data, encoding?, cb?): void

Defined in: src/node/async.ts:228

Asynchronously append data to a file, creating the file if it not yet exists.

unknown

PathLike

FileContents

BufferEncoding

Callback

void

encoding Defaults to 'utf8'.

mode Defaults to 0644.

flag Defaults to 'a'.