1.1.1 • Published 2 years ago

xddtools v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

安装

npm install xddtools

导入

import {formatData,htmlEsacpe} from "./xddtools/index.js";

格式化时间

let dtstr = formatDate([new Date()])

转移html的特殊字符

let dtstr = htmlEsacpe(str)

开源协议

ISC

1.1.1

2 years ago

1.0.0

2 years ago