use-haki

Made with create-react-library

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
use-haki
1611.0.64 years ago4 years agoMinified + gzip package size for use-haki in KB

Readme




Build Status npm downloads GitHub license
PRs Welcome Code of Conduct
Star on GitHub



npm i use-haki


Hooks

  • useClickOutside — allows you to detect clicks outside of a specified element.





  • useHover — detect mouse move on a specified element.

  • useIdle — tracks if user on the page is idle.


  • useKeyPress — detect when user is pressing a specific key.










  • useMeasure — gives sizes of an element and its position


Technologies

  • React
  • TypeScript
  • Microbundle
  • CircleCI
  • Eslint & Prettier
  • Husky & Lint-staged
  • React Testing Library & React Hooks Testing Library
  • Github Actions


Contributors

Thanks goes to these wonderful people (emoji key):
<td align="center"><a href="http://frontlive.pl"><img src="https://avatars1.githubusercontent.com/u/46969484?v=4" width="100px;" alt=""/><br /><sub><b>Olaf Sulich</b></sub></a></td>



This project follows the all-contributors specification. Contributions of any kind welcome!

Issues

Looking to contribute? Look for the Good First Issue label.

🐛 Bugs

Please file an issue for bugs, missing documentation, or unexpected behavior.
See Bugs

💡 Feature Requests

Please file an issue to suggest new features/hooks. Vote on feature requests by adding a 👍. This helps me prioritize what to work on.
See Feature Requests

❓ Questions

For questions related to using the library, you can raise issue here, or send me an email: olafsulich@gmail.com