adding npm-registry-client as dependency