Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /usr/lib/node_modules/npm/lib/ |
Upload File : |
module.exports = bin var npm = require('./npm.js') var osenv = require('osenv') var output = require('./utils/output.js') bin.usage = 'npm bin [--global]' function bin (args, silent, cb) { if (typeof cb !== 'function') { cb = silent silent = false } var b = npm.bin var PATH = osenv.path() if (!silent) output(b) process.nextTick(cb.bind(this, null, b)) if (npm.config.get('global') && PATH.indexOf(b) === -1) { npm.config.get('logstream').write('(not in PATH env variable)\n') } }