设置国内镜像
npm config set registry https://registry.npm.taobao.org
默认源
npm config set registry https://registry.npmjs.org
临时使用国内镜像源
npm --registry https://registry.npm.taobao.org install XXX(模块名)
使用cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
cnpm install XXX(模块名)
使用nrm
npm install -g nrm
nrm use taobao
nrm ls # 查看当前可用源命令
可用的镜像源
npm ---------- https://registry.npmjs.org/
yarn --------- https://registry.yarnpkg.com/
tencent ------ https://mirrors.cloud.tencent.com/npm/
cnpm --------- https://r.cnpmjs.org/
taobao ------- https://registry.npmmirror.com/
npmMirror ---- https://skimdb.npmjs.com/registry/
查看当前node.js版本对es6的支持程度
node.js操作Excel
流媒体服务器(node-dss)
流媒体服务器(node-media-server)