ACIL FM
Dark
Refresh
Current DIR:
/lib/node_modules/npm/lib/utils/completion
/
lib
node_modules
npm
lib
utils
completion
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
installed-deep.js
1.1 MB
chmod
View
DL
Edit
Rename
Delete
installed-shallow.js
543 B
chmod
View
DL
Edit
Rename
Delete
Edit file: /lib/node_modules/npm/lib/utils/completion/installed-shallow.js
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
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply