laozhu-tools

1.0.0 • Public • Published

安装

npm install lechi-tools

导入

const lechitools = require('lechi-tools')

格式化时间

const dt = lechitools.modateFormat(new Date('2020-01-12T12:34:22.123'))

转义html

const htmlstrs=lechitools.htmlEscape(htmlstr)

反转义html

const htmlFstr=lechitools.htmlunEscape(htmlstrs)

开源协议

ISC

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i laozhu-tools

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      2.18 kB

      Total Files

      5

      Last publish

      Collaborators

      • zhy95489