mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 08:05:29 +00:00

PR-URL: https://github.com/nodejs/node/pull/38475 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
21 lines
419 B
JavaScript
21 lines
419 B
JavaScript
const pkg = require('./package.json')
|
|
module.exports = {
|
|
log: require('./silentlog.js'),
|
|
maxSockets: 12,
|
|
method: 'GET',
|
|
registry: 'https://registry.npmjs.org/',
|
|
timeout: 5 * 60 * 1000, // 5 minutes
|
|
strictSSL: true,
|
|
noProxy: process.env.NOPROXY,
|
|
userAgent: `${pkg.name
|
|
}@${
|
|
pkg.version
|
|
}/node@${
|
|
process.version
|
|
}+${
|
|
process.arch
|
|
} (${
|
|
process.platform
|
|
})`,
|
|
}
|