itheima-tools-kellyxyo

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i itheima-tools-kellyxyo

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

128 kB

Total Files

317

Last publish

Collaborators

  • kellyluyangxie