How ahooks is used
ahooks is a dependency in 5 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 29 projects, and what it is used with below comes from all of them. Projects that use it most often also use lint-staged (69.0%), React (93.1%), Zustand (65.5%).
ahooks popularity over time
Gid Score 51: downloads 58, use in agent projects 33, GitHub stars 57, downloads trend 54 (each 0-100). How it is calculated.
Often used with ahooks
| lint-staged | 69.0% of ahooks projects · 8.8× more than average |
|---|---|
| React | 93.1% of ahooks projects · 2.9× more than average |
| Zustand | 65.5% of ahooks projects · 11.3× more than average |
| Ant Design | 62.1% of ahooks projects · 202.8× more than average |
| Day.js | 62.1% of ahooks projects · 42.3× more than average |
| stylelint | 62.1% of ahooks projects · 37.1× more than average |
| Husky | 62.1% of ahooks projects · 6.1× more than average |
| Vite | 69.0% of ahooks projects · 3.5× more than average |
From all 29 projects in our scan that use ahooks, including the dependency samples.
Install
| Package | npm install ahooks |
|---|---|
| Main stacks | Next.js (18), TypeScript / JavaScript (11) |
| Example projects | lobehub/lobehub, vual/lobe-chat-pro, MarcosCamara01/ecommerce-template, blockmatic/basilic, isaccanedo/lobe-chat |
Alternatives to ahooks
In our scan, none of the most used tools in Web frameworks does the same job as ahooks: they are add-ons, companions or tools for a different task.
More in Web frameworks: React Next.js next-themes React Router Vue Astro React Native Web Angular