1.0.1 • Published 2 years ago

jl-str v1.0.1

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

安装包

npm i ji-str

使用包

const ji-str = require('ji-str');

方法使用

获取日期格式为 YYYY 年 MM 月 DD 日 HH 时 mm 分 ss 秒

ji-str.getDate('时间');

处理输入框中特殊字符转换

ji-str.htmlEsc('字符串');

处理输入框中特殊字符转换为<>"&

ji-str.htmlunEsc('字符串');

1.0.1

2 years ago

1.0.0

2 years ago