A high-quality & reliable JavaScript Hooks library.
npm install apply-hooksEnglish | įŽäŊ䏿
- useMount
- useTimeout
- useCookie
- useInterval
- useArrayChunk
- useCompact
- useClipBoard
- useEventLoop
- useSort
- isPromise
- isArrayLike
- isWindow
- isNull
- isFunction
- toType
- toInteger
- .....
- useStack
- useQueue
- useLinkedList
- usePriorityQueue
- useDoublyLinkedList
- useHeap
- Easy to learn and use
- Contains a large number of advanced Hooks that are refined from business scenarios
- Contains a comprehensive collection of basic Hooks
- Written in TypeScript with predictable static types
``bash`
$ npm install apply-hooksor
$ yarn add apply-hooksor
$ pnpm install apply-hooks
`ts``
import { useMount } from 'apply-hooks'
- ahooks
- lodash
- jquery