tiny-hooks
v1.1.0
Published
A tiny collection of reusable React hooks written in TypeScript for modern web applications.
Maintainers
Readme
Tiny Hooks 🚀
Tiny Hooks is a collection of reusable, modern React hooks written in TypeScript.
Designed for clean, typed, and efficient React development.
🚀 Features
✅ Over 20 hooks for common tasks
✅ Fully written in TypeScript
✅ Server-Safe hooks
✅ Easy to integrate in any React project
✅ Supports React≥16.8
⚙️ Installation
bun add tiny-hooks
# or
pnpm add tiny-hooks
# or
yarn add tiny-hooks
# or
npm install tiny-hooks💡 Available Hooks
⚡ State Hooks
useBooleanuseCounteruseStepuseToggle
💾 Storage Hooks
useLocalStorageuseSessionStorageuseClipboard
🖱️ Event & Interaction Hooks
useClickAnywhereuseClickOutsideuseEventListeneruseHoveruseScrollProgress
🌐 Browser & Client Hooks
useIsClientuseIsMounteduseBrowserCapabilitiesuseOnlineStatususeRedirect
⏱️ Utility Hooks
useDebounceusePrevioususeStopwatchuseThrottle
🤝 Contributing
- Fork this repository
- Clone your fork locally:
git clone [email protected]:reussio/tiny-hooks.git - Make your improvements or fixes.
- Commit your changes and push the branch to your fork.
- Open a Pull Request against the
mainbranch of this repository.
📜 Code of Conduct
Please follow our Code of Conduct.
🌍 Repository
- GitHub Repo: https://github.com/reussio/tiny-hooks
📜 License
This project is licensed under the MIT License.
See the LICENSE file for more details.
