compare
pre-commit vs simple-git-hooks
The same facts for both, read from GitHub every night, and the relation a person reviewed.
| Fact | pre-commit | simple-git-hooks |
|---|---|---|
| Language | Python | JavaScript |
| Licence | MIT | MIT |
| Stars | 16k | 1.7k |
| Latest | v4.7.0 | 2.14.0 |
| Last push | 2026-11-09 | 2026-08-28 |
| Release cadence | about 77 days between releases | about 230 days between releases |
| Active contributors | 2 commit authors on the default branch in the last 90 days | 4 commit authors on the default branch in the last 90 days |
| Flags | none | none |
How they relate
Both replace husky. Alternatives to husky →
Partialpre-commitLanguage-agnostic hooks installed from shared repositories, in Python rather than npm.
Partialsimple-git-hooksHooks declared in package.json, without a hooks directory, one command per hook.
pre-commit
simple-git-hooks
pre-commit
unsigned The latest release, v4.7.0, carries no signature GitHub could verify.
Loading the security report
simple-git-hooks
unsigned The latest release, 2.14.0, carries no signature GitHub could verify.
Loading the security report