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

x/ayonli_jsext/workerd/fs.ts>WriteFileOptions

A JavaScript extension package for building strong and modern applications.
Latest
interface WriteFileOptions
implements FileSystemOptions
Re-export
import { type WriteFileOptions } from "https://deno.land/x/ayonli_jsext@v0.9.72/workerd/fs.ts";

Options for file writing functions, such as writeFile and writeLines.

Properties

optional
append: boolean

Append the data to the file instead of overwriting it.

optional
mode: number

Permissions always applied to file.

NOTE: This option is ignored in the browser.

optional
signal: AbortSignal