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

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

better path handling for Deno
Latest
method Path.genTmpPath
Deprecated
Deprecated

slated for removal on v3.0.0

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
rngScalar: number = [UNSUPPORTED]
optional
prefix: string = [UNSUPPORTED]
optional
suffix: string = [UNSUPPORTED]
optional
joinChar: string = [UNSUPPORTED]
optional
tmpDir: string