Question: I want to make a class where there is a function that is called automatically, to process information stored within this classes instance. 

However each instance has different values and possibly a different way for that content to be handeled. 

Therefore I need something simmilar to constructor overloading but in a member function. Where every instance can overload the default function or leave it up to the default to handle the input.

How can that be achieved?

Answer: 
I think you might be sitting behind a proxy. You will have to set-up npm and node behind the corporate proxy 

Open an command prompt or terminal session and run the following commands to configure npm to work with your web proxy. The commands use proxy.company.com as the address and 8080 as the port. 

```
npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

```

Please refer and follow the steps -

<https://jjasonclark.com/how-to-setup-node-behind-web-proxy/>
I think npm server is currenty broken right now.
I cannot even open their website <https://www.npmjs.com>