std@0.139.0/fs/ensure_dir.ts

Deno standard library
GitHub Stars
2199
Go to latest
import * as mod from "https://deno.land/std@0.139.0/fs/ensure_dir.ts";

Functions

ensureDir

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.

ensureDirSync

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.