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

x/simple_utility/src/path.deno.ts>tmpPath

Useful snippet collection.
Go to Latest
function tmpPath
import { tmpPath } from "https://deno.land/x/simple_utility@v1.4.1/src/path.deno.ts";

Return system-wide temporary directory path for each OS. /tmp for UNIX and C:/Windows/Temp for Windows.

Examples

Example 1

const path = tmpPath();

Returns

string