Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/path/mod.ts>Path.genTmpPath

better path handling for Deno
Latest
method Path.genTmpPath
Re-export
Deprecated
Deprecated

slated for removal on v3.0.0

import { Path } from "https://deno.land/x/path@v3.0.0/mod.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