Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function appendFile
import { appendFile } from "https://deno.land/std@0.103.0/node/_fs/_fs_appendFile.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
optional
callback: CallbackWithError