Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/js/deno.ts>WriteFileOptions

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface WriteFileOptions
import { type WriteFileOptions } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";

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)

Properties

optional
perm: number
optional
create: boolean
optional
append: boolean