📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-28 08:36:27
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs16
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
@npmcli
/
run-script
/
lib
📍 /opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/node_modules.bundled/@npmcli/run-script/lib
🔄 Refresh
✏️
Editing: is-server-package.js
Read Only
const util = require('util') const fs = require('fs') const { stat } = fs.promises || { stat: util.promisify(fs.stat) } const { resolve } = require('path') module.exports = async path => { try { const st = await stat(resolve(path, 'server.js')) return st.isFile() } catch (er) { return false } }
💾 Save Changes
❌ Cancel