1.0.0 • Published 2 years ago
wang-tools v1.0.0
安装
npm install wang-tools
导入
const wangTools = require("wang-tools")
格式化时间
tools.dateFormat(new Date())
转义html中的特殊字符
tools.htmlEscape(htmlstr)
反转义html中的特殊字符
tools.htmlUnEscape(htmlstr)
开源协议
ISC
1.0.0
2 years ago