your_sakura-utils
v1.0.0
Published
小小小邓亦旻,好好听话,不然打屁股
Downloads
6
Readme
介绍
等待缘分等感觉,等过多少年
安装
npm i your_sakura-utils
const sakura=require('./index')
格式化日期
const date=new Date()
const str=sakura.dateFormatter(date)
console.log('dateStr',str)
转换网页字符串
const str1=sakura.htmlReplace('<a>你 好</a>')
console.log('str1',str1)
const str2=sakura.replaceHtml('<a>你&nbsp;好</a>')
console.log('str2',str2)
开源协议
ISC