From 7d82909dd18a29d7bd9e8d39f8b968ad33eae639 Mon Sep 17 00:00:00 2001 From: Peter Muessig Date: Sat, 9 Mar 2024 09:47:42 +0100 Subject: [PATCH] docs: update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 6ae7bb8..b994505 100644 --- a/README.md +++ b/README.md @@ -118,6 +118,13 @@ no-proxy=localhost,.mycompany.com,192.168.6.254:80 This configuration is shared with npm itself since this proxy configuration is used to download the packages from npm. +Proxies can be passed as env variables or as npm config options. The highest precedence have the `GLOBAL_AGENT_*` env variables before the regular env variables followed by the npm configuration options, e.g.: + +1. env: `GLOBAL_AGENT_HTTP_PROXY` +2. env: `HTTP_PROXY` +3. npm: `http-proxy` +4. npm: `proxy` + ## How to obtain support Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.