itheima-tools-kellyxyo
v1.0.0
Published
FormateDateTime
Downloads
2
Maintainers
Readme
install
""" npm install ithima-tools-kellyxyo """
""" js const ithima = require('ithima-tools') """
Formate Date
""" const itheima = require('./index') const dtStr = itheima.dateFormat(new Date()) """
HTML Escape and Unescape
""" const htmlStr = ' This is a h1 label123 ' const str = itheima.htmlEscape(htmlStr) const str2 = itheima.htmlUnEscape(str) """