📂 FileMgr
📍
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
node-gyp
/
lib
✏️ /usr/lib/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js
✕ Tutup
const util = require('util') const fs = require('fs') const { stat } = fs.promises || { stat: util.promisify(fs.stat) } async function isNodeGypPackage (path) { return await stat(`${path}/binding.gyp`) .then(st => st.isFile()) .catch(() => false) } module.exports = { isNodeGypPackage, defaultGypInstallScript: 'node-gyp rebuild', }
💾 Simpan
Batal
⬅ node-gyp
1 item
Nama
Tipe
Ukuran
Diubah
Perm
Aksi
📜
index.js
js
349 B
09/08/23 05:32
0644
✏️
⬇
🔤
🔑
🗑
✏️ Rename
Nama Baru
Simpan
Batal
🔑 Ubah Permission
Octal (mis: 0755)
Terapkan
Batal