zzwtools
v1.0.1
Published
format time and HTMLEscape
Downloads
2
Readme
##install ... npm install zzw-tools ...
##import
const zzw = require('zzw-tools')
##format date
const str = zzw.dateFormate(new Date())
console.log(str)
##htmlEscape and htmlUnEscape
const str1 = zzw.htmlEscape('<><><>&&&"""');
const str2 = zzw.htmlUnEscape(str1);
console.log(str1);
console.log(str2);
##license ISC