@@ -181,7 +181,7 @@ to trust only that specific signing authority.
181
181
Multiple CAs can be trusted by specifying an array of certificates instead of a
182
182
single string.
183
183
184
- See also [ ` opts.strict-ssl ` ] ( #opts-strict-ssl ) , [ ` opts.ca ` ] ( #opts-ca ) and
184
+ See also [ ` opts.strictSSL ` ] ( #opts-strictSSL ) , [ ` opts.ca ` ] ( #opts-ca ) and
185
185
[ ` opts.key ` ] ( #opts-key )
186
186
187
187
##### <a name =" opts-cache " ></a > ` opts.cache `
@@ -194,8 +194,8 @@ will be cached according to [IETF RFC 7234](https://tools.ietf.org/html/rfc7234)
194
194
rules. This will speed up future requests, as well as make the cached data
195
195
available offline if necessary/requested.
196
196
197
- See also [ ` offline ` ] ( #opts-offline ) , [ ` prefer-offline ` ] ( #opts-prefer-offline ) ,
198
- and [ ` prefer-online ` ] ( #opts-prefer-online ) .
197
+ See also [ ` offline ` ] ( #opts-offline ) , [ ` preferOffline ` ] ( #opts-preferOffline ) ,
198
+ and [ ` preferOnline ` ] ( #opts-preferOnline ) .
199
199
200
200
##### <a name =" opts-cert " ></a > ` opts.cert `
201
201
@@ -216,7 +216,7 @@ It is _not_ the path to a certificate file (and there is no "certfile" option).
216
216
217
217
See also: [ ` opts.ca ` ] ( #opts-ca ) and [ ` opts.key ` ] ( #opts-key )
218
218
219
- ##### <a name =" opts-fetch-retries " ></a > ` opts.fetch-retries `
219
+ ##### <a name =" opts-fetchRetries " ></a > ` opts.fetchRetries `
220
220
221
221
* Type: Number
222
222
* Default: 2
@@ -227,7 +227,7 @@ packages from the registry.
227
227
See also [ ` opts.retry ` ] ( #opts-retry ) to provide all retry options as a single
228
228
object.
229
229
230
- ##### <a name =" opts-fetch-retry-factor " ></a > ` opts.fetch-retry-factor `
230
+ ##### <a name =" opts-fetchRetryFactor " ></a > ` opts.fetchRetryFactor `
231
231
232
232
* Type: Number
233
233
* Default: 10
@@ -238,7 +238,7 @@ packages.
238
238
See also [ ` opts.retry ` ] ( #opts-retry ) to provide all retry options as a single
239
239
object.
240
240
241
- ##### <a name =" opts-fetch-retry-mintimeout " ></a > ` opts.fetch-retry-mintimeout `
241
+ ##### <a name =" opts-fetchRetryMintimeout " ></a > ` opts.fetchRetryMintimeout `
242
242
243
243
* Type: Number
244
244
* Default: 10000 (10 seconds)
@@ -249,7 +249,7 @@ packages.
249
249
See also [ ` opts.retry ` ] ( #opts-retry ) to provide all retry options as a single
250
250
object.
251
251
252
- ##### <a name =" opts-fetch-retry-maxtimeout " ></a > ` opts.fetch-retry-maxtimeout `
252
+ ##### <a name =" opts-fetchRetryMaxtimeout " ></a > ` opts.fetchRetryMaxtimeout `
253
253
254
254
* Type: Number
255
255
* Default: 60000 (1 minute)
@@ -260,9 +260,8 @@ packages.
260
260
See also [ ` opts.retry ` ] ( #opts-retry ) to provide all retry options as a single
261
261
object.
262
262
263
- ##### <a name =" opts-force-auth " ></a > ` opts.force-auth `
263
+ ##### <a name =" opts-forceAuth " ></a > ` opts.forceAuth `
264
264
265
- * Alias: ` opts.forceAuth `
266
265
* Type: Object
267
266
* Default: null
268
267
@@ -288,9 +287,8 @@ Additional headers for the outgoing request. This option can also be used to
288
287
override headers automatically generated by ` npm-registry-fetch ` , such as
289
288
` Content-Type ` .
290
289
291
- ##### <a name =" opts-ignore-body " ></a > ` opts.ignore-body `
290
+ ##### <a name =" opts-ignoreBody " ></a > ` opts.ignoreBody `
292
291
293
- * Alias: ` opts.ignoreBody `
294
292
* Type: Boolean
295
293
* Default: false
296
294
@@ -317,9 +315,8 @@ previously-generated integrity hash for the saved request information, so
317
315
` EINTEGRITY ` errors can happen if [ ` opts.cache ` ] ( #opts-cache ) is used, even if
318
316
` opts.integrity ` is not passed in.
319
317
320
- ##### <a name =' opts-is-from-ci ' ></a > ` opts.is-from-ci `
318
+ ##### <a name =' opts-isFromCI ' ></a > ` opts.isFromCI `
321
319
322
- * Alias: ` opts.isFromCI `
323
320
* Type: Boolean
324
321
* Default: Based on environment variables
325
322
@@ -343,7 +340,7 @@ It is _not_ the path to a key file (and there is no "keyfile" option).
343
340
344
341
See also: [ ` opts.ca ` ] ( #opts-ca ) and [ ` opts.cert ` ] ( #opts-cert )
345
342
346
- ##### <a name =" opts-local-address " ></a > ` opts.local-address `
343
+ ##### <a name =" opts-localAddress " ></a > ` opts.localAddress `
347
344
348
345
* Type: IP Address String
349
346
* Default: null
@@ -361,19 +358,17 @@ See also [`opts.proxy`](#opts-proxy)
361
358
Logger object to use for logging operation details. Must have the same methods
362
359
as ` npmlog ` .
363
360
364
- ##### <a name =" opts-map-json " ></a > ` opts.map-json `
361
+ ##### <a name =" opts-mapJSON " ></a > ` opts.mapJSON `
365
362
366
- * Alias: ` mapJson ` , ` mapJSON `
367
363
* Type: Function
368
364
* Default: undefined
369
365
370
366
When using ` fetch.json.stream() ` (NOT ` fetch.json() ` ), this will be passed down
371
367
to [ ` JSONStream ` ] ( https://npm.im/JSONStream ) as the second argument to
372
368
` JSONStream.parse ` , and can be used to transform stream data before output.
373
369
374
- ##### <a name =" opts-maxsockets " ></a > ` opts.maxsockets `
370
+ ##### <a name =" opts-maxSockets " ></a > ` opts.maxSockets `
375
371
376
- * Alias: ` opts.max-sockets `
377
372
* Type: Integer
378
373
* Default: 12
379
374
@@ -394,9 +389,8 @@ HTTP method to use for the outgoing request. Case-insensitive.
394
389
395
390
If true, proxying will be disabled even if [ ` opts.proxy ` ] ( #opts-proxy ) is used.
396
391
397
- ##### <a name =" opts-npm-session " ></a > ` opts.npm-session `
392
+ ##### <a name =" opts-npmSession " ></a > ` opts.npmSession `
398
393
399
- * Alias: ` opts.npmSession `
400
394
* Type: String
401
395
* Default: null
402
396
@@ -411,7 +405,7 @@ invocations of the CLI).
411
405
412
406
Force offline mode: no network requests will be done during install. To allow
413
407
` npm-registry-fetch ` to fill in missing cache data, see
414
- [ ` opts.prefer-offline ` ] ( #opts-prefer-offline ) .
408
+ [ ` opts.preferOffline ` ] ( #opts-preferOffline ) .
415
409
416
410
This option is only really useful if you're also using
417
411
[ ` opts.cache ` ] ( #opts-cache ) .
@@ -448,7 +442,7 @@ That is:
448
442
449
443
See also [ ` opts.username ` ] ( #opts-username )
450
444
451
- ##### <a name =" opts-prefer-offline " ></a > ` opts.prefer-offline `
445
+ ##### <a name =" opts-preferOffline " ></a > ` opts.preferOffline `
452
446
453
447
* Type: Boolean
454
448
* Default: false
@@ -463,7 +457,7 @@ This option is generally only useful if you're also using
463
457
This option is set to ` false ` when the request includes ` write=true ` in the
464
458
query string.
465
459
466
- ##### <a name =" opts-prefer-online " ></a > ` opts.prefer-online `
460
+ ##### <a name =" opts-preferOnline " ></a > ` opts.preferOnline `
467
461
468
462
* Type: Boolean
469
463
* Default: false
@@ -477,9 +471,8 @@ This option is generally only useful if you're also using
477
471
This option is set to ` true ` when the request includes ` write=true ` in the
478
472
query string.
479
473
480
- ##### <a name =" opts-project-scope " ></a > ` opts.project-scope `
474
+ ##### <a name =" opts-projectScope " ></a > ` opts.projectScope `
481
475
482
- * Alias: ` opts.projectScope `
483
476
* Type: String
484
477
* Default: null
485
478
@@ -510,7 +503,6 @@ If the request URI already has a query string, it will be merged with
510
503
511
504
##### <a name =" opts-refer " ></a > ` opts.refer `
512
505
513
- * Alias: ` opts.referer `
514
506
* Type: String
515
507
* Default: null
516
508
@@ -574,7 +566,7 @@ If provided, can be used to automatically configure [`opts.scope`](#opts-scope)
574
566
based on a specific package name. Non-registry package specs will throw an
575
567
error.
576
568
577
- ##### <a name =" opts-strict-ssl " ></a > ` opts.strict-ssl `
569
+ ##### <a name =" opts-strictSSL " ></a > ` opts.strictSSL `
578
570
579
571
* Type: Boolean
580
572
* Default: true
@@ -607,7 +599,7 @@ Can be scoped to a registry by using a "nerf dart" for that registry. That is:
607
599
}
608
600
```
609
601
610
- ##### <a name =" opts-user-agent " ></a > ` opts.user-agent `
602
+ ##### <a name =" opts-userAgent " ></a > ` opts.userAgent `
611
603
612
604
* Type: String
613
605
* Default: ` 'npm-registry-fetch@<version>/node@<node-version>+<arch> (<platform>)' `
0 commit comments