1.0.0 • Published 3 years ago
ayakumotools v1.0.0
安装
npm install ayakumotools导入
const mytools = require("ayakumotools")格式化时间
const dtStr = mytools.dateFormate(new Date())
console.log(dtStr);转义HTML中的特殊字符
const htmlStr = mytools.htmlEscape('<h1>123</h1>')
console.log(htmlStr);开源协议
ISC
1.0.0
3 years ago