itheima-tools-khr
v1.0.0
Published
我草死你的吗
Downloads
3
Readme
install
npm install itheima-tools-khr
init
const itheima = require(itheima-tools-khr)
dateFormat
const str = itheima.dataFormat(new Date())
console.log(str);
escapeHtml
const htmlStr = '<h1 title="asd">123 aw</h1>'
const str2 = itheima.HtmlEscape(htmlStr)
license
ISC