Creates a directory if missing (no recursion drama)
npm install @thinice/ensure-dir-existsCreates a directory if missing (creates parent directories as needed).
``bash`
npm install @thinice/ensure-dir-exists
`typescript
import { ensureDirExists } from "@thinice/ensure-dir-exists";
await ensureDirExists("./logs"); // Creates if missing, no-op if exists
await ensureDirExists("./a/b/c"); // Creates nested directories
``