it-format

1.0.0 • Public • Published

##该包用于格式化时间等操作

##该包安装方式

npm install ItFormat

##该包提供的方法:

1.formateTime():

传递一个时间的字符串 返回格式化时间

2.escapHtml()

可以将含有 html 格式的字符串转译成一般字符串

3.generateHtml()

还原最开始格式的字符串

Package Sidebar

Install

npm i it-format

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

2.34 kB

Total Files

5

Last publish

Collaborators

  • ranzhou-123