npm proxy设置网络代理 并使用taobao registry
npm config set https-proxy http://server:port
npm config set proxy http://server:port
npm set registry http://registry.npm.taobao.org
npm install -g websocket-bench --registry=http://registry.npm.taobao.org
乐趣和分享!