npm install dimeng-tools
const dimeng= require('dimeng-tools')
const dtStr = dimeng.dateFormat(new Date())
// 2022--09--22 14:18:25
console.log(dtStr);
const htmlstr = '<h1 title="abc">this is h1 asdadsdad!!&&&</h1>'
const str = dimeng.htmlEscape(htmlstr)
console.log(str);
const newStr = dimeng.htmlUnescape(str)
console.log(newStr);
ISC