1.0.0 • Published 1 year ago

itheima-tools-kellyxyo v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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) """