演示上传npm包
npm i npm-name-hide-bao
或者下载出错
cnpm i npm-name-hide-bao
import testpublish from 'npm-name-hide-bao';
global.testpublish = testpublish;
import testpublish from 'npm-name-hide-bao';
姓名脱敏
let str = testpublish.$hideName("张三");
#目录
<h6 id="hideName">1.姓名脱敏</h6>
```javascript
//返回字符串
let str = testpublish.$hideName("张三");