封装一个Npm包
npm login
npm publish
将仓库设置为原仓库
输入命令 npm config set registry=http://registry.npmjs.org
发布成功后,再次将仓库地址设为淘宝镜像地址
输入命令 npm config set registry=https://registry.npm.taobao.org/
array map function use ts
封装一个Npm包
输入命令 npm config set registry=http://registry.npmjs.org
输入命令 npm config set registry=https://registry.npm.taobao.org/