defactored npmconf back into npm