Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
node_modules /
npm /
node_modules /
libnpx /
Delete
Unzip
Name
Size
Permission
Date
Action
locales
[ DIR ]
drwxr-xr-x
2026-04-30 23:29
CHANGELOG.md
27.48
KB
-rw-r--r--
2021-03-10 18:06
LICENSE.md
755
B
-rw-r--r--
2021-03-10 18:06
README.md
6.31
KB
-rw-r--r--
2021-03-10 18:06
auto-fallback.js
1.51
KB
-rw-r--r--
2021-03-10 18:06
child.js
2.2
KB
-rw-r--r--
2021-03-10 18:06
get-prefix.js
1.23
KB
-rw-r--r--
2021-03-10 18:06
index.js
12.62
KB
-rw-r--r--
2021-03-10 18:06
libnpx.1
6.7
KB
-rw-r--r--
2021-03-10 18:06
package.json
2.59
KB
-rw-r--r--
2021-03-10 18:06
parse-args.js
7.1
KB
-rw-r--r--
2021-03-10 18:06
util.js
390
B
-rw-r--r--
2021-03-10 18:06
y.js
490
B
-rw-r--r--
2021-03-10 18:06
Save
Rename
'use strict' const promisify = require('./util.js').promisify const path = require('path') const statAsync = promisify(require('fs').stat) module.exports = getPrefix function getPrefix (root) { const original = root = path.resolve(root) while (path.basename(root) === 'node_modules') { root = path.dirname(root) } if (original !== root) { return Promise.resolve(root) } else { return Promise.resolve(getPrefixFromTree(root)) } } function getPrefixFromTree (current) { if (isRootPath(current, process.platform)) { return false } else { return Promise.all([ fileExists(path.join(current, 'package.json')), fileExists(path.join(current, 'node_modules')) ]).then(args => { const hasPkg = args[0] const hasModules = args[1] if (hasPkg || hasModules) { return current } else { return getPrefixFromTree(path.dirname(current)) } }) } } module.exports._fileExists = fileExists function fileExists (f) { return statAsync(f).catch(err => { if (err.code !== 'ENOENT') { throw err } }) } module.exports._isRootPath = isRootPath function isRootPath (p, platform) { return platform === 'win32' ? p.match(/^[a-z]+:[/\\]?$/i) : p === '/' }