When I try to install socket.io using npm, I get the following errors.

Recently, our Indian government has blocked access to github. Therefore, I do not have access to github. see news here
So, I tried to install socket.io offline. Download socket.io.master from here (Thanks @Vitaliy Zurian for this link
npm install socket.io.master
Even then it failed because it is extracting dependencies from git.
so my questions are these:
Is there a step-by-step guide on installing socket.io offline?
or
Is there an alternative installer for socket.io?
source
share