npm install itheima-tools-sl
const itheima = require('./itheima-tools-sl')
const dtStr = itheima.dataFormat(new Date())
console.log(tdtStr);
const htmlStr = '<h1 title="abc">这是h1标签<span>123 </span></h1>'
const str = itheima.htmlEscape(htmlStr)
console.log(str)
const str2 = itheima.htmlUnEscape(str)
console.log(str2);
ISC