|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /lib/node_modules/npm/lib/config/ |
'use strict'
const npm = require('../npm.js')
var packageId = require('../utils/package-id.js')
const log = require('npmlog')
module.exports = binLinksOpts
function binLinksOpts (pkg) {
return {
ignoreScripts: npm.config.get('ignore-scripts'),
force: npm.config.get('force'),
globalBin: npm.globalBin,
globalDir: npm.globalDir,
json: npm.config.get('json'),
log: log,
name: 'npm',
parseable: npm.config.get('parseable'),
pkgId: packageId(pkg),
prefix: npm.config.get('prefix'),
prefixes: [
npm.prefix,
npm.globalPrefix,
npm.dir,
npm.root,
npm.globalDir,
npm.bin,
npm.globalBin
],
umask: npm.config.get('umask')
}
}