Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

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

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface WriteFileOptions
import { type WriteFileOptions } from "https://deno.land/x/deno@v0.30.0/cli/js/write_file.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