npmrc --registry [TLD]
timoxley opened this issue · comments
Tim Kevin Oxley commented
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.
Francois-Guillaume Ribreau commented
+1 !
Tim Kevin Oxley commented
Closed by version 1.1.0 1.0.1...1.1.0