import { remove } from "https://deno.land/x/deno@v0.28.0/cli/js/deno.ts";
Removes the named file or directory. Would throw error if
permission denied, not found, or directory not empty if recursive
set
to false.
recursive
is set to false by default.
await Deno.remove("/path/to/dir/or/file", {recursive: false});
Parameters
optional
options: RemoveOption = [UNSUPPORTED]