gqt-tools
v1.0.0
Published
提供了格式化时间、HTMLEscape
Downloads
7
Readme
安装
npm install gqt-tools
导入
const gqttools = require('gqt-tools')
格式化时间
const dtStr = gqttools.dateFormat(new Date())
console.log(dtStr);
转义HTML中的特殊字符
const htmlstr = '<h1>hello</h1>'
console.log(gqttools.htmlEscape(htmlstr));
开源协议
ISC
作者日志
2024/3/30 为了完成毕业设计的后端,我在这里火急火燎地痛苦的学习Node