REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 543 B
Close
//proc/thread-self/root/opt/alt/alt-nodejs16/root/usr/lib/node_modules/npm/lib/utils/completion/installed-shallow.js
Text
Base64
const { promisify } = require('util') const readdir = promisify(require('readdir-scoped-modules')) const installedShallow = async (npm, opts) => { const names = global => readdir(global ? npm.globalDir : npm.localDir) const { conf: { argv: { remain } } } = opts if (remain.length > 3) { return null } const { global } = npm.flatOptions const locals = global ? [] : await names(false) const globals = (await names(true)).map(n => global ? n : `${n} -g`) return [...locals, ...globals] } module.exports = installedShallow
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 2
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
installed-deep.js
1.10 KB
lrw-r--r--
2026-03-17 06:55:03
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
installed-shallow.js
543 B
lrw-r--r--
2026-03-17 06:55:03
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).