Nice project, it will definetely help us save bandwidth when installing npm-modules.
The following will put this module into an endless loop (at least on Linux)
npm install -g npm-proxy-cache
npm-proxy-cache &
curl http://localhost:8080
I am now running npm-proxy-cache in a docker-container where the 8082 is mapped on 8080 within the container. Still, if you do
export http_proxy=http://localhost:8082
curl http://localhost:8080
The endless-loop starts again.