Skip to content

tempDir

Module @netwiv/api/path · Kind Function

import { tempDir } from '@netwiv/api/path';

Returns a temporary directory.

function tempDir(): Promise<string>
import { tempDir } from '@netwiv/api/path';
const temp = await tempDir();

Upstream since 2.0.0


Descriptions come from the pinned @tauri-apps/api@2.11.1 declarations (MIT OR Apache-2.0); imports are shown with @netwiv/api paths.