1.0.0 • Published 1 year ago
itheima-tools-yancy v1.0.0
安装
npm i itbaima-tools
导入
const itheima=require('itbaima-tools')
使用
const dateStr=itheima.dateFormate(new Date()) console.log(dateStr)
const htmlStr='这是h1标签123 ' const htmlS=itheima.htmlEscape(htmlStr) console.log(htmlS)
const htmlS2=itheima.htmlUnEscape(htmlS) console.log(htmlS2)
协议
ISC
1.0.0
1 year ago