ahooks
react hooks library
ahooks@3.11.0 was published on 2026-10-27. Its manifest declares 8 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All ahooks versions · Permanent reference to 3.11.0
Package specifications
| Version | 3.11.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-10-27T14:22:24.208Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 8 |
| Peer requirement count | 2 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 615.72 KiB |
| Published file count | 509 |
| Package type | Not declared |
| ES module entry | ./es/index.js |
| Default entry | ./lib/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 8 |
| Repository stars | 14978 |
| Repository forks | 2766 |
Install ahooks 3.11.0
npm install ahooks@3.11.0 pnpm add ahooks@3.11.0 yarn add ahooks@3.11.0
Runtime dependencies
- dayjs ^1.9.1
- tslib ^2.4.1
- lodash ^4.17.21
- js-cookie ^3.0.5
- screenfull ^5.0.0
- @babel/runtime ^7.21.0
- react-fast-compare ^3.2.2
- resize-observer-polyfill ^1.5.1
Peer requirements
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — direct
- dayjs@1.11.23 — direct
- js-cookie@3.0.8 — direct
- lodash@4.18.1 — direct
- react-fast-compare@3.2.2 — direct
- resize-observer-polyfill@1.5.1 — direct
- screenfull@5.2.0 — direct
- tslib@2.8.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 5/10 — 7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5 |
|---|---|
| Security-Policy | 10/10 — security policy file detected |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Code-Review | 8/10 — Found 20/24 approved changesets -- score normalized to 8 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 6/10 — SAST tool is not run on all commits -- score normalized to 6 |
Evidence and freshness
- https://registry.npmjs.org/ahooks/3.11.0 — retrieved 2026-10-29T12:29:20.687Z
- https://api.deps.dev/v3/systems/npm/packages/ahooks/versions/3.11.0 — retrieved 2026-10-29T12:29:21.208Z
- https://api.deps.dev/v3/systems/npm/packages/ahooks/versions/3.11.0:dependencies — retrieved 2026-10-29T12:29:21.237Z
- https://api.deps.dev/v3/projects/github.com%2Falibaba%2Fhooks — retrieved 2026-10-29T12:29:21.345Z