whoami7 - Manager
:
/
opt
/
alt
/
alt-nodejs22
/
root
/
lib
/
node_modules
/
npm
/
node_modules
/
@npmcli
/
node-gyp
/
lib
/
Upload File:
files >> //opt/alt/alt-nodejs22/root/lib/node_modules/npm/node_modules/@npmcli/node-gyp/lib/index.js
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', }
Copyright ©2021 || Defacer Indonesia