• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1const pkg = require('../package.json')
2module.exports = {
3  maxSockets: 12,
4  method: 'GET',
5  registry: 'https://registry.npmjs.org/',
6  timeout: 5 * 60 * 1000, // 5 minutes
7  strictSSL: true,
8  noProxy: process.env.NOPROXY,
9  userAgent: `${pkg.name
10    }@${
11      pkg.version
12    }/node@${
13      process.version
14    }+${
15      process.arch
16    } (${
17      process.platform
18    })`,
19}
20