1.0.0 • Published 2 years ago

module-tools-zkk v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

安装方法

npm i ithema-tools-zkk

导入方式

const time = require('./modules/Timehandling')
const lab = require('./modules/Labelprocessing')

格式化时间

const date=heima.dateFormat()
console.log(date)

转义HTML中的特殊字符

const str = heima.htmlEscape('<h1>我是node.js</h1>')
console.log(str)

还原HTML中的特殊字符

const newstr= heima.restore(str)
console.log(newstr)

开源协议

ISC
1.0.0

2 years ago