import { Deno } from "https://deno.land/x/levo@v0.0.27/lib/lib.deno_runtime.d.ts";
const { mkdir } = Deno;
Creates a new directory with the specified path.
await Deno.mkdir("new_dir");
await Deno.mkdir("nested/directories", { recursive: true });
await Deno.mkdir("restricted_access_dir", { mode: 0o700 });
Defaults to throwing error if the directory already exists.
Requires allow-write
permission.
Parameters
path: string | URL
optional
options: MkdirOptions