import { ensureDirSync } from "https://dotland.deno.dev/std@0.224.0/fs/mod.ts";
Synchronously ensures that the directory exists. If the directory structure
does not exist, it is created. Like mkdir -p
.
Requires the --allow-read
and --allow-write
flag.