REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 516 B
Close
/opt/alt/alt-nodejs16/root/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js
Text
Base64
const rpj = require('read-package-json-fast') const runScriptPkg = require('./run-script-pkg.js') const validateOptions = require('./validate-options.js') const isServerPackage = require('./is-server-package.js') const runScript = options => { validateOptions(options) const { pkg, path } = options return pkg ? runScriptPkg(options) : rpj(path + '/package.json') .then(readPackage => runScriptPkg({ ...options, pkg: readPackage })) } module.exports = Object.assign(runScript, { isServerPackage })
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 10
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
node-gyp-bin
DIR
-
drwxr-xr-x
2026-03-19 07:09:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
escape.js
1.50 KB
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
is-server-package.js
314 B
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
is-windows.js
113 B
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
make-spawn-args.js
1.97 KB
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
package-envs.js
699 B
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
run-script-pkg.js
2.69 KB
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
run-script.js
516 B
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
set-path.js
1.47 KB
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
signal-manager.js
820 B
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
validate-options.js
1.18 KB
lrw-r--r--
2026-03-09 06:51:27
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).