compare

pre-commit vs simple-git-hooks

The same facts for both, read from GitHub every night, and the relation a person reviewed.

pre-commit vs simple-git-hooks
Factpre-commitsimple-git-hooks
LanguagePythonJavaScript
LicenceMITMIT
Stars16k1.7k
Latestv4.7.02.14.0
Last push2026-11-092026-08-28
Release cadenceabout 77 days between releasesabout 230 days between releases
Active contributors2 commit authors on the default branch in the last 90 days4 commit authors on the default branch in the last 90 days
Flagsnonenone
  • 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.