import { stdx } from "https://deno.land/x/hex@0.6.5/src/lib/mod.ts";
const { ensureDir } = stdx.fs;
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.
Parameters
dir: string | URL