1.0.0 • Published 2 years ago

itheima_tools_versatile4396 v1.0.0

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

安装

npm install itheima-tools

导入

const itheima = require('itheima-tools')

为数不多的方法

const str = it.dateFormat(new Date())
console.log(str);
const str2 = '<h1 style="z-index=999;">这是一个html标签<span>123&nbsp</span></h1></h1>'
const nstr=it.htmlUnEscape(str2);
// 2023-03-04 14:36:29
// <h1 style="z-index=999;">这是一个html标签<span>123&nbsp</span></h1></h1>

开源协议

ISC