Skip to main content
Module

std/node/fs.ts>appendFile

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function appendFile
Re-export
import { appendFile } from "https://deno.land/std@0.36.0/node/fs.ts";

TODO: Also accept 'data' parameter as a Node polyfill Buffer type once this is implemented. See https://github.com/denoland/deno/issues/3403

Parameters

pathOrRid: string | number
data: string
optionsOrCallback: string | FileOptions | Function
optional
callback: Function

Returns

Promise<void>