delete file with deno

JavaScript
// async
await Deno.remove("./file.txt");
// sync
Deno.removeSync("./file.txt");
Source

Also in JavaScript: