diff options
author | Allan Kimmer Jensen <allankimmerjensen@gmail.com> | 2018-03-08 11:41:06 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2018-03-09 01:20:43 +0300 |
commit | 1d368e1e63229f236b9dbabf628989fa3aa98bdb (patch) | |
tree | 8d43cedee084d36eb2779c2485781414808394d5 /doc | |
parent | dcdfdcbb0035ef3290bd0912f562e26f6fc4ea94 (diff) |
install: Support for --no-proxy configuration (#19157)
This commit adds support for the noProxy configuration.
All whats really needed is passing the option to the `pacote` package,
this will pass it to `make-fetch-happen` and finally to the `request`
package where this is implemented.
Fixes: #18350
Fixes: #7168
PR-URL: https://github.com/npm/npm/pull/19157
Credit: @Saturate
Reviewed-By: @zkat
Diffstat (limited to 'doc')
-rw-r--r-- | doc/misc/npm-config.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 2b49b2503..8ff052bc9 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -675,6 +675,13 @@ impact how lifecycle scripts are called. The node version to use when checking a package's `engines` map. +### no-proxy + +* Default: null +* Type: String or Array + +A comma-separated string or an array of domain extensions that a proxy should not be used for. + ### offline * Default: false |