Lefthook
Fast git hooks manager for running checks and tasks on commits.
3. Used by agents' projects
Dependency in 127 public GitHub projects set up for AI coding agents that we scanned (2.0%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Lefthook does
Fast git hooks manager for running checks and tasks on commits.
Lefthook popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Lefthook is used
- Lefthook is a dependency in 127 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.6% of the 4,867 JavaScript/TypeScript ones), #14 of 299 in dev workflow and config.
- The most used alternative in our scan is Husky (639 projects).
- Projects that use it most often also use Biome (33.1%), Turborepo (29.9%), jsdom (29.1%).
- It is more common in projects set up for OpenCode (5.5%) than for GitHub Copilot (1.9%).
By coding agent
Often used with
More about Lefthook
Head to head
- Husky vs Lefthook used together in 4 projects
More in Dev workflow and config
Alternatives
Lefthook This page
Modern Git hooks manager for running tasks on git events.
Get started
Install it.
npm install lefthookNo step-by-step start for Lefthook yet: we have not written its hand-checked card.