chu-utils
v1.0.1
Published
前端-自定义工具函数库
Downloads
8
Maintainers
Readme
chu-utils
前端-自定义工具函数库
函数相关
- apply
- bind
- call
- debounce
- throttle
数组相关
- chunk
- concat
- difference
- drop
- dropRight
- every
- filter
- find
- findIndex
- flatten1, flatten2, flatten3
- map
- pull
- pullAll
- reduce
- slice
- some
- unique1, unique2, unique3
对象相关
- clone1, clone2
- deepClone1, deepClone2, deepClone3, deepClone4
- mergeObject
- myInstanceOf
- newInstance
字符串相关
- palindrome
- reverseString
- truncate
继承
- extend
自定义事件监听
- addEventListener
ajax请求函数
- axios
事件总线
- EventBus
消息订阅与发布
- PubSub