import fs from 'fs/promises'; export async function exisis(path: string): Promise { try { await fs.access(path); } catch { return false; } return true; };