MakeTempOptions
import { MakeTempOptions } from "jsr:@ende/fs/unstable-types";interface ยท experimental
interface MakeTempOptionsOptions which can be set when using makeTempDir,
makeTempDirSync, makeTempFile, and
makeTempFileSync.
Properties
dir
dir?: stringDirectory where the temporary directory should be created (defaults to the
env variable TMPDIR, or the system's default, usually /tmp).
Note that if the passed dir is relative, the path returned by
makeTempFile() and makeTempDir() will also be relative. Be mindful of
this when changing working directory.
prefix
prefix?: stringString that should precede the random portion of the temporary directory's name.
suffix
suffix?: stringString that should follow the random portion of the temporary directory's name.