1.0.0 • Published 5 years ago
tanghao v1.0.0
1.安装
Npm i tanghao 2.导入
const th = require("./tanghao")3.转译
//测试 转译
const str1 = th.htmlEscape('<>')
console,log(str1)4.还原
//测试 还原
const str2 = th.htmlUnEscape('<')
console.log(str2)1.0.0
5 years ago