UNPKG

@buka/nestjs-config

Version:
11 lines (10 loc) 197 B
import * as fs from 'fs/promises'; export async function fsExist(filepath) { try { await fs.access(filepath); return true; } catch (err) { return false; } }