<div align="center">
<h1>
<br/>
📦✨
<br/>
react-use-pkg
<br/>
<br/>
</h1>

<small>The unusual custom react hooks library</small>

<sup>
<a href="https://www.npmjs.com/package/react-use-pkg">
<img src="https://img.shields.io/npm/v/react-use-pkg.svg" alt="npm package" />
</a>
<a href="#">
<img src="https://travis-ci.com/irhamputra/react-use-pkg.svg?branch=master" alt="npm package" />
</a>
<a href="https://img.shields.io/github/license/irhamputra/react-use-pkg">
<img src="https://img.shields.io/github/license/irhamputra/react-use-pkg" alt="license" />
</a>
  
<img src="https://badgen.net/bundlephobia/minzip/react-use-pkg" alt="bundle size" />

<img src="https://badgen.net/npm/dt/react-use-pkg" alt="npm size" />
</sup>
</div>


<div align="center">
<h3>Install</h3>

```bash
npm install --save react-use-pkg
```
</div>

### [See documentation](https://github.com/irhamputra/react-use-pkg/wiki/docs)

### Lists

- useFormatMoney — convert number to Intl format number.
- useZipCode — return JSON data of international Zip Code number
- useFetchWithCORS — enable CORS in client if you don't have access to server
- useToggle — toggle state easily
- useWillUnmount — Hook for ComponentWillUnmount lifecycle
- useGetUnique — Hook for getting unique array
- useAbortController — Hook for cancel promise
- useLoadScript — Hook for loading external script and embed it
- useTwitterAvatar — Get your Twitter Avatar Hook

## License

MIT © [irhamputra](https://github.com/irhamputra)

---
