pre-commit (JavaScript)
Automatically install pre-commit hooks for npm modules.
3. Used by agents' projects
Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.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 pre-commit (JavaScript) does
Automatically install pre-commit hooks for npm modules.
pre-commit (JavaScript) popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How pre-commit (JavaScript) is used
- pre-commit (JavaScript) joined the catalog on its public numbers (456,996 downloads a week on npm and 1,881 GitHub stars), not on our project count: it is a dependency in 10 public GitHub projects of our scan, 1 of them set up for AI coding agents.
- The most used alternative in our scan is Husky (639 projects).
- Projects that use it most often also use dotenv (70.0%), ts-node-dev (70.0%), Express (50.0%).
Often used with
More about pre-commit (JavaScript)
More in Dev workflow and config
Alternatives
pre-commit (JavaScript) This page
Modern Git hooks manager for running tasks on git events.
Fast git hooks manager for running checks and tasks on commits.
Get started
Install it.
npm install pre-commitNo step-by-step start for pre-commit (JavaScript) yet: we have not written its hand-checked card.