deoxxa / npmrc

Switch between different .npmrc files with ease and grace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npmrc --registry [TLD]

timoxley opened this issue · comments

perhaps we could bundle up some of the other global mirrors and allow a simple operation like:

> npmrc --registry au # selects AU npm mirror
> npmrc --registry eu # selects some mirror in europe ?
> npmrc --registry slow # selects US default

This would simply overwrite the registry entry in the current npmrc.

Best case

Auto set the registry based on something like, IP lookup:

>npmrc --registry auto
Looks like you in Australia mate. Selected AU registry.

Worst case

Provide a list of public mirrors in the readme.

Closed by version 1.1.0 1.0.1...1.1.0