add first function

Switching registry mirror between npmjs and taobao.