📜  deno 写入文本文件 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:49.284000             🧑  作者: Mango

代码示例1
/**
 * write.ts
 */
await Deno.writeTextFile("./hello.txt", "Hello World!");
console.log("File written to ./hello.txt");

/**
 * Output: File written to ./hello.txt
 */