npm使用说明
镜像地址
npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
yarn config set registry https://registry.npm.taobao.org
yarn config set disturl https://npm.taobao.org/dist
发布模块
npm config set registry https://registry.npmjs.org
npm adduser
npm publish
npm安装github模块
npm install git+ssh://user1/user1/hello.git