UNPKG
parker-tools
Version:
latest (1.0.0)
1.0.0
提供了格式化时间,HTMLEscape的功能
parker-tools
/
index.js
14 lines
(12 loc)
•
307 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 包入口文件
// 导入
const
dateFormat =
require
(
'./src/dateFormat'
)
const
htmlEscape =
require
(
'./src/htmlEscape'
)
const
htmlUnEscape =
require
(
'./src/htmlUnEscape'
)
console
.
log
(dateFormat)
// 对外暴露
module
.
exports
= { ...dateFormat, ...htmlEscape, ...htmlUnEscape }