Deno.OpenOptions.write - Deno documentation
property Deno.OpenOptions.write

Sets the option for write access. This option, when true, means that the file should be write-able if opened. If the file already exists, any write calls on it will overwrite its contents, by default without truncating it.

Type

boolean