biu123-tools
v1.0.0
Published
提供格式化时间功能
Downloads
3
Readme
安装
npm install biu123-tools
导入
const biu = require("biu123-tools");
格式化时间方法
const dateValue = biu.dateFormate(new Date());
转义 html 中特殊字符
const str = biu.htmlEscape("<h1></h1>");
还原 html 总特殊字符
const strValue = biu.htmlUnEscape(str);
开源协议
ISC