npm config get proxy config code example
Example: setting proxy in npm
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port
npm config set proxy http://username:password@host:port
npm config set https-proxy http://username:password@host:port