set default proxy settings on npm 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