/
home
/
techb158
/
balavpn.abdallabala.com
/
node_modules
/
path-exists
/
/home/techb158/balavpn.abdallabala.com/node_modules/path-exists
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
429
0666
edit
dl
rm
index.js
347
0666
edit
dl
rm
license
1109
0666
edit
dl
rm
package.json
607
0666
edit
dl
rm
readme.md
1427
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/node_modules/path-exists/index.js
(347B)
'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; } };
Save
cmd:
run