# simple-git-hooks

> A zero-dependency tool to manage git hooks from package.json

Source: https://talira.ai/catalog/simple-git-hooks-258pdf36
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / git / hooks](https://talira.ai/categories/developer-tools/git/hooks), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Mikhail Gorbunov](https://talira.ai/orgs/toplenboren.md)

simple-git-hooks manages git hooks for JavaScript projects with zero dependencies and a small configuration: one object in package.json maps hooks such as pre-commit or pre-push to commands, and running the tool installs them. It's lightweight compared with alternatives such as [Husky](https://talira.ai/catalog/husky-zpjapvjr.md), lefthook and pre-commit, and projects such as PostCSS, Nano ID and VitePress use it.

## Links

- GitHub: https://github.com/toplenboren/simple-git-hooks

## Problems it solves

- run linting before every git commit in a Node project
- set up git hooks without Husky
- share git hooks with a team through package.json

## Features

- zero dependencies
- git hooks configured in package.json
- small install size

## Trust

Overall: 0.44 out of 1.
Signals: maintenance 0.45, adoption 0.65, momentum 0.42, community 0.62, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- latest release 2.14.0 3 months ago
- 1.7k GitHub stars
- 34 contributors
- backed by Mikhail Gorbunov

## Alternatives

- [Husky](https://talira.ai/catalog/husky-zpjapvjr.md): Native Git hooks for npm projects, in 2 kB with no dependencies
- [pre-commit](https://talira.ai/catalog/pre-commit-ymy35rpp.md): A framework for managing and maintaining multi-language pre-commit hooks.
- [pre-commit (npm)](https://talira.ai/catalog/pre-commit-npm-p7tsxe3k.md): Installs a git pre-commit hook that runs your npm scripts before each commit
- [commitlint](https://talira.ai/catalog/commitlint-pcb6j4ak.md): Lint commit messages against your team's commit convention
- [lint-staged](https://talira.ai/catalog/lint-staged-p1rk71x0.md): Run tasks like formatters and linters against files staged in Git
- [Lefthook](https://talira.ai/catalog/lefthook-882qc1jp.md): Fast and powerful Git hooks manager for any type of projects.

## Sources

[^1]: https://github.com/toplenboren/simple-git-hooks/blob/master/LICENSE.txt (checked 29 Nov 2026)
