Module

std/node/fs.ts>appendFile

Deno standard library
Go to Latest
function appendFile
import { appendFile } from "https://dotland.deno.dev/std@0.116.0/node/fs.ts";

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

Parameters

pathOrRid: string | number | URL
data: string | Uint8Array
optionsOrCallback: Encodings | WriteFileOptions | CallbackWithError
optional
callback: CallbackWithError
import appendFile
import { appendFile } from "https://dotland.deno.dev/std@0.116.0/node/fs.ts";