BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
usr
/
share
/
nodejs
/
path-exists
/
Upload File:
files >> //usr/share/nodejs/path-exists/index.js
import fs, {promises as fsPromises} from 'node:fs'; export async function pathExists(path) { try { await fsPromises.access(path); return true; } catch { return false; } } export function pathExistsSync(path) { try { fs.accessSync(path); return true; } catch { return false; } }