Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Lefthook

Fast git hooks manager for running checks and tasks on commits.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/evilmartians/lefthook

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

70 / 100
Gid Score, #393 overall
10.2M
downloads a week, npm
9,057
GitHub stars
127
agent projects use it
Lefthook: downloads per weeknpm, lefthook 10,151,000
Lefthook: GitHub starsevilmartians/lefthook 9,057

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

87 projects, 2.7%
59 projects, 1.9%
48 projects, 2.0%
24 projects, 5.1%
19 projects, 5.5%
14 projects, 3.0%

Often used with

In 33.1% of its projects
In 29.9% of its projects
In 29.1% of its projects
In 21.3% of its projects
In 68.5% of its projects
In 20.5% of its projects
In 18.9% of its projects
In 18.9% of its projects

More about Lefthook

Head to head
More in Dev workflow and config

Alternatives

Lefthook This page

MITGid 7010.2M/wk

Husky

Modern Git hooks manager for running tasks on git events.

MITGid 8652.2M/wk

Compare Lefthook with another tool

Get started

Install it.

npm install lefthook

No step-by-step start for Lefthook yet: we have not written its hand-checked card.