import fs from 'node:fs';
import path from 'node:path';
export async function ensureDir(filePath) {
    await fs.promises.mkdir(path.dirname(filePath), { recursive: true });
}
//# sourceMappingURL=fs.js.map