apply-hooks
Version:
A high-quality & reliable JavaScript Hooks library.
70 lines (52 loc) • 2.94 kB
Markdown
## Apply-Hooks
<div align='center'>
A high-quality & reliable JavaScript Hooks library.
English | [简体中文](https://github.com/a572251465/w-hooks/blob/main/README.zh-CN.md)
</div>
## 📚 Components
- [useMount](https://github.com/a572251465/w-hooks/blob/main/packages/src/useMount/index.en-US.md)
- [useTimeout](https://github.com/a572251465/w-hooks/blob/main/packages/src/useTimeout/index.en-US.md)
- [useCookie](https://github.com/a572251465/w-hooks/blob/main/packages/src/useCookie/index.en-US.md)
- [useInterval](https://github.com/a572251465/w-hooks/blob/main/packages/src/useInterval/index.en-US.md)
- [useArrayChunk](https://github.com/a572251465/w-hooks/blob/main/packages/src/useArrayChunk/index.en-US.md)
- [useCompact](https://github.com/a572251465/w-hooks/blob/main/packages/src/useCompact/index.en-US.md)
- [useClipBoard](https://github.com/a572251465/w-hooks/blob/main/packages/src/useClipboard/index.en-US.md)
- [useEventLoop](https://github.com/a572251465/w-hooks/blob/main/packages/src/useEventLoop/index.en-US.md)
- [useSort](https://github.com/a572251465/w-hooks/blob/main/packages/src/useSort/index.en-US.md)
## 📚 Tool method
- [isPromise](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [isArrayLike](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [isWindow](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [isNull](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [isFunction](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [toType](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- [toInteger](https://github.com/a572251465/w-hooks/blob/main/packages/src/utils/README.md)
- .....
## 📚 Data Structure
- [useStack](https://github.com/a572251465/w-hooks/blob/main/packages/src/useStack/index.en-US.md)
- [useQueue](https://github.com/a572251465/w-hooks/blob/main/packages/src/useQueue/index.en-US.md)
- [useLinkedList](https://github.com/a572251465/w-hooks/blob/main/packages/src/useLinkedList/index.en-US.md)
- [usePriorityQueue](https://github.com/a572251465/w-hooks/blob/main/packages/src/usePriorityQueue/index.en-US.md)
- [useDoublyLinkedList](https://github.com/a572251465/w-hooks/blob/main/packages/src/useDoublyLinkedList/index.en-US.md)
- [useHeap](https://github.com/a572251465/w-hooks/blob/main/packages/src/useHeap/index.en-US.md)
## ✨ Features
- 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
## 📦 Install
```bash
$ npm install apply-hooks
# or
$ yarn add apply-hooks
# or
$ pnpm install apply-hooks
```
## 🔨 Usage
```ts
import { useMount } from 'apply-hooks'
```
## 📚 Development Task
- ahooks
- lodash
- jquery