Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.0.10/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.