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

std/node/_fs/_fs_mkdtemp.ts>mkdtemp

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function mkdtemp
import { mkdtemp } from "https://deno.land/std@0.138.0/node/_fs/_fs_mkdtemp.ts";

Parameters

prefix: string
callback: mkdtempCallback

Parameters

prefix: string
options: { encoding: string; } | string
callback: mkdtempCallback

Parameters

prefix: string
optionsOrCallback: { encoding: string; } | string | mkdtempCallback
optional
maybeCallback: mkdtempCallback