1.0.6 • Published 12 months ago

mofang-mopai-utils v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
12 months ago

Mofang Mopai system Utils

created by mofang_tech

2024-06-21

tool list

  • deepCopy (深拷贝)
  • debounce (防抖)
  • throttle (节流)
  • unique (去重)
  • flat (lattens an arra)
  • getValidObject (过滤掉object中的无效键值)
  • calc (基于前端的计算器)
  • getUUID
  • isEmpty (判断Pbject或Array是否为空)
  • isNotEmpty
  • zip (格式化数组分组)
  • unzip
  • isExist (判断object|array中是否存在指定参数)
  • whichTypeOf (判断数据类型)
  • loadJs (动态置入script标签,引用js文件)
  • setGlobalUtils (将以上工具注册到window下)

发布命令

npm version patch

npm publish
1.0.6

12 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago