Works with
•JSR Score70%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
Functions
f
ensureDir(dir: string | URL): Promise<void>
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.
f
ensureDirSync(dir: string | URL): void
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.