import { type Deno } from "https://deno.land/x/deno@v0.28.0/cli/js/lib.deno_runtime.d.ts";
const { WriteFileOptions } = Deno;
Options for writing to a file.
perm
would change the file's permission if set.
create
decides if the file should be created if not exists (default: true)
append
decides if the file should be appended (default: false)