Skip to content

Commit

Permalink
docs: update API documentation of noProxy option (#173)
Browse files Browse the repository at this point in the history
* fix: default value and API documentation of noProxy option

* revert change on default value of noProxy
  • Loading branch information
lingyuncai committed Apr 13, 2023
1 parent 2daa377 commit 14d1159
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Expand Up @@ -361,12 +361,13 @@ Maximum number of sockets to keep open during requests. Has no effect if

HTTP method to use for the outgoing request. Case-insensitive.

##### <a name="opts-noproxy"></a> `opts.noproxy`
##### <a name="opts-noProxy"></a> `opts.noProxy`

* Type: Boolean
* Type: String | String[]
* Default: process.env.NOPROXY

If true, proxying will be disabled even if [`opts.proxy`](#opts-proxy) is used.
If present, should be a comma-separated string or an array of domain extensions
that a proxy should _not_ be used for.

##### <a name="opts-npmSession"></a> `opts.npmSession`

Expand Down

0 comments on commit 14d1159

Please sign in to comment.