Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

Husky vs Lefthook

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, Husky is a dependency in 640 (13.2%) and Lefthook in 127 (2.6%): Husky is 5.0× as common. Among repos created in the last 90 days that use a dev workflow and config tool, Husky is in 22.6% and Lefthook in 10.4%, against 23.8% and 4.5% of older ones. 4 projects list both, often a sign of a migration or of a monorepo with several apps.

Dev workflow and config npm Updated Nov 17, 2026

Husky13.2%
Lefthook2.6%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

HuskyLefthook
Agent projects that use it640127
Rank in dev workflow and config#2#14
In new repos with a dev workflow and config tool (last 90 days)22.6%10.4%
In older repos with one23.8%4.5%
Downloads, last 7 days49.4M9.9M
GitHub stars35.4K9,040
Last push to its repoMar 19, 2026Nov 16, 2026
LicenseMITMIT
FundingYes—
Projects that list both4

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposHuskyLefthook
Claude Code2,61715.4%3.4%
GitHub Copilot2,35014.1%2.6%
Cursor1,99015.1%2.4%
Gemini CLI42219.0%3.3%
OpenAI Codex40921.8%5.9%
OpenCode30417.8%6.2%
OpenClaw2413.3%0%
Devin Desktop23114.7%0%
Kiro12518.4%0%
Roo-Code9012.2%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

Husky

Modern Git hooks manager for running tasks on git events.

Most often used with it:

lint-staged68.3% of its projects
Prettier65.8% of its projects
ESLint67.0% of its projects
TypeScript78.1% of its projects
Vitest42.0% of its projects

npm install husky

Lefthook

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

Most often used with it:

Biome33.9% of its projects
Turborepo29.9% of its projects
jsdom29.1% of its projects
oxlint20.5% of its projects
TypeScript67.7% of its projects

npm install lefthook

More matchups

python-dotenv vs Pydantic SettingsClick vs Typer

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.