1.0.0 • Published 3 years ago
toolescape v1.0.0
包的使用说明文档
安装
npm i toolescape
引入
const tool = require('toolescape')
使用
const res1 = tool.formatTime(new Date())
const res2 = tool.escapeHTML('<span style="color: red">hello</span>')
const res3 = tool.unescapeHTML(
'<span style="color: red">hello</span>'
)
许可
ISC
1.0.0
3 years ago