Skip to content
Tauri

tempDir

tempDir(): Promise<string>

Defined in: path.ts:620

Returns a temporary directory.

Promise<string>

import { tempDir } from '@tauri-apps/api/path';
const temp = await tempDir();

2.0.0


© 2025 Tauri Contributors. CC-BY / MIT