PHP 8.2.30
Preview: index.js Size: 347 B
/home/byroehnu/easepay.easetack.com/node_modules/path-exists/index.js

'use strict';
const fs = require('fs');
const {promisify} = require('util');

const pAccess = promisify(fs.access);

module.exports = async path => {
	try {
		await pAccess(path);
		return true;
	} catch (_) {
		return false;
	}
};

module.exports.sync = path => {
	try {
		fs.accessSync(path);
		return true;
	} catch (_) {
		return false;
	}
};

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
127 B lr--r--r-- 2026-03-14 01:49:21
Edit Download
429 B lrw-r--r-- 2026-02-21 00:53:18
Edit Download
347 B lrw-r--r-- 2026-02-21 00:53:18
Edit Download
1.08 KB lrw-r--r-- 2026-02-21 00:53:20
Edit Download
607 B lrw-r--r-- 2026-02-21 00:53:16
Edit Download
1.39 KB lrw-r--r-- 2026-02-21 00:53:22
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).