import { tmpdir } from "node:os" import { join } from "node:path" import { mkdtemp } from "node:fs/promises" import { v4 as uuidv4 } from "uuid" export async function getRandomDirectory(): Promise { return mkdtemp(join(tmpdir(), uuidv4())) }