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

x/path/src/Path.ts>Path.makeTmpDir

better path handling for Deno
Latest
method Path.makeTmpDir
import { Path } from "https://deno.land/x/path@v3.0.0/src/Path.ts";

Generate a new random folder name with it's path set to the system temporary folder

Parameters

optional
unnamed 0: { rngScalar?: number; prefix?: string; suffix?: string; joinChar?: string; tmpDir?: string; } = [UNSUPPORTED]