itheima-tools-zjb

1.0.0 • Public • Published

##安装

npm install itheima-tools

##导入

const itheima = require("itheima-tools-zjb");

##格式化时间

const dtStr=itheima.dateFormat(new Date())

##转义 HTML 中的字符

const str=itheima.htmlEscape(htmlStr)

Package Sidebar

Install

npm i itheima-tools-zjb

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

1.63 kB

Total Files

5

Last publish

Collaborators

  • zjbnpm