compare
husky vs lefthook
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | husky | lefthook |
|---|---|---|
| Language | JavaScript | Go |
| Licence | MIT | MIT |
| Stars | 35k | 9.1k |
| Latest | v9.1.7 | v2.2.2 |
| Last push | 2026-03-19 | 2026-11-16 |
| Release cadence | about 22 days between releases | about 3 days between releases |
| Active contributors | 0 commit authors on the default branch in the last 90 days | 27 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
lefthook replaces husky. Alternatives to husky →
Full replacementOne lefthook.yml for all hooks, a single binary with no Node.js requirement.
Both replace pre-commit. Alternatives to pre-commit →
PartialhuskyGit hooks managed through npm and package.json; no hook repository or per-language environments.
Full replacementlefthookRuns hook commands in parallel, but uses tools you install instead of building an environment per hook.
husky
lefthook
- v2.2.22026-10-134aeffd72a6e3ea846c2054cffd6294c943fd7fbb fix: cleanup only current stash hash (#1597)
- v2.2.12026-10-086dd11f61f54595935746f9e0814c16844fc6d31b feat: support php composer (#1583)
- v2.2.02026-10-0746c65b3871dd96c81624f413b24b3d273b41a4e5 deps: October 2026 (#1571)
- v2.1.172026-10-058d8073d427fac49cc982919f5280b295645d196d fix: diff push files against the merge base with the default branch (#1565)
- v2.1.162026-10-013ee04318fd06d56a70cc9c90dc8385b19918f520 ci: refactor publishing scripts (#1559)
husky
unsigned The latest release, v9.1.7, carries no signature GitHub could verify.
Loading the security report
lefthook
✓ signed The latest release, v2.2.2, carries a signature GitHub verified.
Loading the security report