Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/hono/adapter/deno/deno.d.ts>Deno.mkdir

Fast, Lightweight, Web-standards
Extremely Popular
Go to Latest
function Deno.mkdir
import { Deno } from "https://deno.land/x/hono@v4.2.1/adapter/deno/deno.d.ts";
const { mkdir } = Deno;

Creates a new directory with the specified path.

Parameters

path: string

The path to create a directory.

optional
options: { recursive?: boolean; }

Options for creating a directory.

Returns

Promise<void>

A promise that resolves when the directory is created.