1.0.0 • Published 1 year ago
ithandawang-tools v1.0.0
安装
npm install ithandawang-tools
导入
const ithandawang = require('./ithandawang-tools/index')
格式化时间
const dt = ithandawang.dateFormat(new Date())
html转义字符
const htmlStr = '<h1 style="color:"white""><span>123&321nbsp</span></h1>'
const htmlEscape = ithandawang.htmlEscape(htmlStr)
开源协议
ISC
1.0.0
1 year ago