# Husky: 7.1 out of 10

A strong pick. 6th of 10 in [Git hooks and release tools](https://elestia.ai/opensource/git-release/index.md).

Husky is a tiny, dependency-free tool that sets up native Git hooks through core.hooksPath. It is still the most used hook manager in JavaScript projects and remains a solid choice for simple pre-commit checks. Development has almost stopped, though: there has been no release since November 2024. Lefthook is now growing much faster and runs commands in parallel.

**Best for:** Node.js projects that want simple shell-script Git hooks, usually paired with lint-staged, with no setup cost.

## Scores

- **Overall: 7.1** (likely 6.0 to 8.1)
  - Claude Opus 5.5 (7.0): Husky is still a strong, safe, near-zero-cost pick for simple Node pre-commit hooks, and nearly every JS developer knows it. It is not the default it once was. Releases have stopped, bugs go unanswered, and Lefthook is gaining fast with parallel runs and monorepo support. Pick it for small and mid-size projects. Consider Lefthook for monorepos or larger teams.
  - GPT-6.2 Sol (7.1): Husky is a strong pick for a new JavaScript or TypeScript repo that mainly needs a few existing scripts to run at Git hook events. Teams that want built-in staged-file filtering and parallel jobs have a stronger choice in Lefthook. Husky’s small implementation makes basic setups easy to support, while the long release gap and slower adoption growth reduce confidence in it as the category default.
- **Needed by many: 6.6** (likely 5.5 to 7.7)
  - Claude Opus 5.5 (7.0): Pre-commit hooks for linting and formatting are common in team web projects and open-source libraries. Husky covers only the hook half of this category, not publishing releases. It is tied to Node and npm installs.
  - GPT-6.2 Sol (6.2): Local checks are useful across JavaScript and TypeScript apps and libraries, and Husky works across frameworks. It serves teams that want feedback during Git operations, while publishing requires a separate tool such as semantic-release. The survey shows widespread use of the tools Husky can run, and the share of developers who need a hook manager is less clear.
- **Helps a lot: 7.3** (likely 6.3 to 8.3)
  - Claude Opus 5.5 (7.0): Husky does its narrow job well: it installs native hooks with no runtime cost, has zero dependencies and ships TypeScript types. Its limits are clear. Hooks run in sequence, monorepos need manual scoping, and staged-file filtering needs lint-staged. Users also report rough edges on Windows, in subdirectory repos and in GUI clients. Lefthook does more, so Husky cannot score at the top.
  - GPT-6.2 Sol (7.5): Version 9.1.7 installs a wide set of Git hooks, and its plain shell files and version-specific examples make basic setup easy for developers and coding agents to follow. Lefthook offers built-in file filters and parallel jobs, and its setup was faster in one end-to-end benchmark that also changed how staged files were selected and commands were launched. Husky reports hook failures with exit codes, but GUI environment problems and an initializer that overwrites existing setup make integration less predictable.
- **Holds up over time: 5.1** (likely 3.7 to 6.7)
  - Claude Opus 5.5 (5.0): There were no releases in the last year and only 6 commits. One maintainer does the work, and the Scorecard 'Maintained' check is 0. Bug reports from 2025 and 2026 sit unanswered. The tool is small and Git hooks rarely change, so it will likely keep working. Still, Lefthook is gaining ground quickly, and a fix for a new problem may never come.
  - GPT-6.2 Sol (5.2): Husky had six commits in the last year and has gone two years without a release, while Lefthook is shipping and setup-related pull requests have waited months. Sponsorship provides some funding, and npm metadata lists one maintainer. Users reported upgrade friction moving to v9, and the release notes flag another hook migration for v10. The small implementation and reliance on Git’s hook mechanism make continued use plausible even at this pace.
- **Used widely: 8.3** (likely 7.2 to 9.0)
  - Claude Opus 5.5 (9.0): Husky has about 200M downloads every 4 weeks and 386k dependent repositories, the most in the category. It sits in hundreds of thousands of projects. Its growth ratio of 2.7 is below the 4.1 median, and Lefthook grows far faster, so its share is slipping. Templates and CI installs inflate the downloads, but the dependents count confirms that real use is very large.
  - GPT-6.2 Sol (7.5): Husky leads the bundle with about 386,000 tracked dependent repositories and 35,400 stars. Four-week npm installs rose from 74.6 million to 200.7 million, but that 2.69× increase trails the 4.1× catalog median and Lefthook’s 13.45× growth. A scan of public repos configured for coding agents also finds Husky ahead overall, with a slightly lower share in newer repos and a higher share for Lefthook. Repeated installs and partial repository coverage make the number of new teams choosing either tool uncertain.
- **Vouched for: 7.5** (likely 6.2 to 8.5)
  - Claude Opus 5.5 (7.0): Many well-known open-source projects and starter templates use Husky, and comparison guides treat it as the default. Current independent praise is thin, though. Recent write-ups mostly describe teams moving to Lefthook, and there is no survey data specific to Husky. Attention on Bluesky and Hacker News is low.
  - GPT-6.2 Sol (8.0): Angular and Next.js use Husky 9 in their own development workflows, and commitlint documents how to use it for local commit checks. An independent benchmark provides one practical comparison and favors the tested Lefthook setup on speed. The evidence shows trust in real projects, while broad satisfaction and retention are harder to judge.
- **Safe: 7.5** (likely 6.4 to 8.6)
  - Claude Opus 5.5 (7.5): Husky has zero dependencies, a tiny shell-based package, an MIT licence and no advisories ever. The risks are a Scorecard of 4.7, with no security policy, weak code review and unpinned dependencies. One person publishes releases. The package is installed by hundreds of thousands of projects, so a compromised account would have a wide impact.
  - GPT-6.2 Sol (7.5): Husky has a permissive MIT license, zero runtime dependencies, and no recorded OSV advisories. Version 9.1.7 was published with npm provenance through GitHub Actions after tests, using an npm token, and package metadata lists one maintainer. The 4.7 OpenSSF Scorecard, weak code review and pinning scores, and lack of a published security policy leave uncertainty about how quickly a future problem would be handled.

## Good

- It has zero dependencies and a package of about 2 kB, so it adds almost no install weight or attack surface.
- Hooks are plain shell scripts in .husky/, so they are easy to read and edit.
- It is the best-known hook tool for Node, with the most tutorials and examples, so AI agents set it up correctly.
- The v9 API is small and stable: add a prepare script that runs husky, then write the hook files.

## Bad

- There has been no release since v9.1.7 in November 2024, and only 6 commits in the last year.
- Hooks run one after another, with no parallel runs and no built-in monorepo scoping, which Lefthook offers.
- It replaces the default hooks directory with core.hooksPath, which can silently override existing hooks.
- Open bug reports go unanswered, including slow runs on Windows and failures in subdirectory repos and GUI clients.

## The numbers

- Downloads, 4 weeks: 201M
- In a year: ×2.7
- GitHub stars: 35k
- Commits, 12 months: 6
- Last npm release: Nov 2024
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/typicode/husky
- npm: https://www.npmjs.com/package/husky

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 22 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
