1.0.0 • Published 3 years ago
wucheng-tools v1.0.0
安装
npm i WuCheng-tools
导入
const wucheng = require('./WuCheng-tools');
格式化日期
var t = wucheng.formatTime(date, '年月日')
转译
var str = wucheng.escape(htmlStr)
还原
var unescape = wucheng.unescape(str)
开源协议
ISC
1.0.0
3 years ago