Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

Fast, Lightweight, Web-standards
Very Popular
Go to Latest
function Deno.mkdir
import { Deno } from "https://deno.land/x/hono@v4.1.0/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.