function ensureDirSyncimport { ensureDirSync } from "https://dotland.deno.dev/std@0.221.0/fs/ensure_dir.ts"; ensureDirSync(dir: string | URL)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. ExamplesExample 1 import { ensureDir } from "https://deno.land/std@0.221.0/fs/ensure_dir.ts"; await ensureDir("./bar"); Parametersdir: string | URLThe path of the directory to ensure, as a string or URL.