source: trip-planner-front/node_modules/npm-registry-fetch/default-opts.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 419 bytes
RevLine 
[6a3a178]1const pkg = require('./package.json')
2module.exports = {
3 log: require('./silentlog.js'),
4 maxSockets: 12,
5 method: 'GET',
6 registry: 'https://registry.npmjs.org/',
7 timeout: 5 * 60 * 1000, // 5 minutes
8 strictSSL: true,
9 noProxy: process.env.NOPROXY,
10 userAgent: `${pkg.name
11 }@${
12 pkg.version
13 }/node@${
14 process.version
15 }+${
16 process.arch
17 } (${
18 process.platform
19 })`,
20}
Note: See TracBrowser for help on using the repository browser.