Удалить папку с помощью deno
// delete empty folder
await Deno.remove("./some_dir");
// delete non-empty folder
await Deno.remove("./some_dir", { recursive: true });
// delete empty folder sync
Deno.removeSync("./some_dir");
// delete non-empty folder sync
Deno.removeSync("./some_dir", { recursive: true });
ali ahmed