nrm npm source is a manager that allows you to quickly switch between npm source.
Installation nrm
In the Run command line terminal, npm install -g nrm
the global installation nrm
.
Run nrm ls to see the available sources.
Among them, a source with * are currently in use, the above output indicates that the current source is the official source.
View current source
In the command input terminal nrm current
you can see now use that source
Handover source address
By using the nrm use 源名称
possible handover source address
Delete source
By using nrm del <registry>
you can delete the source address switch
Speed test
By using the nrm test <registry>
command to test the response time of the source