Skip to main content
tmpdir - os - Node documentation
function tmpdir

Usage in Deno

import { tmpdir } from "node:os";
tmpdir(): string

Returns the operating system's default directory for temporary files as a string.

Return Type

string
Back to top