README
安装
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
时间格式化,HTMLEscape
<script type="module">
import wuchengTools from 'https://cdn.skypack.dev/wucheng-tools';
</script>
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