Husky
A strong pick. 6th of 10 git hooks and release tools.
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
Overall7.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- npm downloads ratio: 2.7x, below the 4.1 median
- github releasesLastYear: 0 releases
- pkgpulse.com/guides/husky-vs-lefthook-vs-lint-staged-git-hooks-nodejs-2026: recommends Husky for most projects and Lefthook for large ones
- github.com/typicode/husky/issues: recent bug reports without fixes
GPT-6.2 Sol: 7.1, likely 5.9 to 8.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.
- typicode.github.io/husky/get-started.html: Plain shell hook files fit existing project scripts.
- lefthook.dev/configuration/jobs: Closest peer has built-in orchestration and filtering.
- github.com/typicode/husky/releases/tag/v9.1.7: The November 2024 release remains the latest.
- agentgid.com/tools/compare/husky-vs-lefthook: Husky still leads in newer sampled repos, with Lefthook closing the gap.
Needed by many6.6
How many developers need a tool for this job?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- dependents: 386k dependent repositories, the most in the category
- pkgpulse.com/guides/husky-vs-lefthook-vs-lint-staged-git-hooks-nodejs-2026: husky plus lint-staged called the standard setup for Node projects
GPT-6.2 Sol: 6.2, likely 4.9 to 7.3
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.
- 2025.stateofjs.com/en-US/other-tools: ESLint and Prettier lead utility use among respondents.
- typicode.github.io/husky: Client-side hooks work across major desktop platforms.
- github.com/semantic-release/semantic-release: A category peer handles versioning and package publishing.
Helps a lot7.3
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.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.
- pkgpulse.com/guides/husky-vs-lefthook-vs-lint-staged-git-hooks-nodejs-2026: notes sequential runs and manual monorepo scoping
- dev.to/recca0120/ditch-husky-speed-up-git-hooks-with-lefthook-hkm: user explains switching to Lefthook for parallel runs and a single config file
- github.com/typicode/husky/issues: open bugs: Windows slowness, VSCode subdirectory commits, blocked input
- npm dependencies: zero dependencies, types included
GPT-6.2 Sol: 7.5, likely 6.5 to 8.6
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.
- typicode.github.io/husky/get-started.html: Documents v9 setup and POSIX shell hooks.
- raw.githubusercontent.com/typicode/husky/v9.1.7/bin.js: Initializer replaces the prepare script and pre-commit file.
- github.com/typicode/husky/issues/1598: Users report GUI PATH failures and show Husky’s error output.
- lefthook.dev/configuration/jobs: Lefthook provides file filters and parallel job groups.
- argano.github.io/post/lefthook-biome-setup: One Biome workflow measured about 844 ms with Husky plus lint-staged and 445 ms with Lefthook.
Holds up over time5.1
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 6.5
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.
- github commitsLastYear / releasesLastYear: 6 commits, 0 releases in the last year
- npm latestPublishedAt: last publish 2024-11-18
- scorecard Maintained: score 0
- peers Lefthook downloads: Lefthook grew about 13x year over year, against Husky's 2.7x
GPT-6.2 Sol: 5.2, likely 3.8 to 6.8
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.
- github commitsLastYear, pushedAt, and latestRelease: Six commits in a year, last push in March 2026, and latest release in November 2024.
- peers Lefthook: 205 commits in the last year and an October 2026 release.
- github.com/typicode/husky/pulls: Setup and documentation fixes have waited months.
- opencollective.com/husky: Public financial contributions provide some support.
- npm.io/package/husky/versions: Package metadata lists one maintainer.
- github.com/typicode/husky/issues/1374: A user reports that a documented v8 setup broke after the v9 upgrade.
- github.com/typicode/husky/releases: Release notes flag older hook bootstrap lines for removal in v10.
Used widely8.3
How many use it, and is that growing?
Claude Opus 5.5: 9.0, likely 8.0 to 9.5
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.
- npm downloadsLast4Weeks: 200.7M, against 74.6M a year ago (ratio 2.69)
- medianDownloadsRatio: median 4.1, so Husky is losing relative ground
- dependents repos: 386,105, the highest among peers
- github stars: 35.4k stars
GPT-6.2 Sol: 7.5, likely 6.4 to 8.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.
- dependents, github stars, and peers dependentRepos: 386,105 tracked repos and 134,180 packages depend on Husky.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, and peers Lefthook: 2.69× growth versus 4.1× across the catalog and 13.45× for Lefthook.
- bluesky posts and peers Lefthook: Four linked Husky posts versus 15 for Lefthook.
- agentgid.com/tools/compare/husky-vs-lefthook: Husky leads this sample, while Lefthook has gained share in newer repos.
Vouched for7.5
Who stands behind it being good?
Claude Opus 5.5: 7.0, likely 5.5 to 8.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.
- pkgpulse.com/guides/husky-vs-lefthook-vs-lint-staged-git-hooks-nodejs-2026: calls it the most popular hooks manager for Node
- dev.to/recca0120/ditch-husky-speed-up-git-hooks-with-lefthook-hkm: a recent migration story away from Husky
- bluesky posts: only 4 posts, including one complaint about clobbering hooks
- widely used in OSS repos: common in major JS repositories and templates
GPT-6.2 Sol: 8.0, likely 6.9 to 9.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.
- raw.githubusercontent.com/angular/angular/main/package.json: Angular pins 9.1.7 and invokes Husky in prepare.
- raw.githubusercontent.com/vercel/next.js/canary/package.json: Next.js pins Husky 9 and invokes it in prepare.
- commitlint.js.org/guides/local-setup.html: Commitlint documents pairing its checks with Husky 9.
- argano.github.io/post/lefthook-biome-setup: Independent team tested both hook setups on Next.js.
- 2025.stateofjs.com/en-US/other-tools: Survey results provide no Husky-specific satisfaction or retention figures.
Safe7.5
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.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.
- advisories total: 0 advisories
- npm dependencies: 0 dependencies
- scorecard: 4.7 overall; Security-Policy 0, Code-Review 3, Pinned-Dependencies 1
- github license: MIT
GPT-6.2 Sol: 7.5, likely 6.2 to 8.6
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.
- npm dependencies, npm license, and advisories total: Zero dependencies, MIT license, and zero recorded advisories.
- scorecard score and checks: 4.7 overall, code review 3, dependency pinning 1, and security policy 0.
- github.com/typicode/husky/blob/799e84b/.github/workflows/npm_publish.yml: Release workflow tests before token-authenticated npm publishing with provenance.
- npm.io/package/husky/versions: Records release provenance and lists one package maintainer.
- github.com/typicode/husky/security: GitHub detects no published security policy.
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
- npm downloads, 4 weeks
- 201M ×2.7 in a year
- GitHub stars
- 35k
- Commits, 12 months
- 6
- npm version
- 9.1.7 Nov 2024
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.7 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (typicode/husky), npm (husky), OSV and the OpenSSF Scorecard.
Git hooks and release tools
- 7.9lint-staged
- 7.9commitlint
- 7.6Lefthook
- 7.6semantic-release
- 7.1release-it
- 7.1Husky
- 7.0release-please
- 6.4bumpp
- 6.3np
- 6.1simple-git-hooks