function Deno.writeTextFile
Jump to headingwriteTextFile(): Promise<void>Write string data to the given path, by default creating a new file if
needed, else overwriting.
await Deno.writeTextFile("hello1.txt", "Hello world\n"); // overwrite "hello1.txt" or create it
Requires allow-write permission, and allow-read if options.create is
false.
Parameters Jump to heading
Jump to headingpath: string | URLJump to headingdata: string | ReadableStream<string>optional
Jump to headingoptions: WriteFileOptionsReturn Type Jump to heading
Promise<void>