##该包用于格式化时间等操作
##该包安装方式
npm install ItFormat
##该包提供的方法:
1.formateTime():
传递一个时间的字符串 返回格式化时间
2.escapHtml()
可以将含有 html 格式的字符串转译成一般字符串
3.generateHtml()
还原最开始格式的字符串
##该包用于格式化时间等操作
##该包安装方式
npm install ItFormat
##该包提供的方法:
传递一个时间的字符串 返回格式化时间
可以将含有 html 格式的字符串转译成一般字符串
还原最开始格式的字符串
npm i it-format
1
1.0.0
ISC
2.34 kB
5