npm.io
1.0.3 • Published 4 years ago

uilt_ts_chu v1.0.3

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

uilt_chu

介绍

js工具函数

安装教程

  1. yarn add uilt_ts_chu
  2. npm i uilt_ts_chu

文档地址

http://chutils.chenhua.xyz/

strSplit:字符串替换trim:字符串去空格capitalize:英文字符串首字母大写reverse:翻转字符串deepClone:对象克隆deepMege:对象合并queryParams:对象转URL参数timeFormat:时间戳日期格式化timeForm:时间戳转为多久之前dayDif:计算2个日期之间相差多少天debounce:防抖throttle:节流rgbToHex:RGB转十六进制Hex colorToRgba:颜色透明度 hexToRgb:十六进制Hex转RGBcolorGradient:颜色渐变random:生成随机数randomArray:数组乱序arrCompareNumber:从数组中获取最小值/最大值copyToClipboard:复制到剪贴板test:验证函数
@types/jestjestts-jest
@infinitebrahmanuniverse/nolb-uil@everything-registry/sub-chunk-3007
1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

contact@npm.io