observing/pre-commit
Automatically installs a git pre-commit script in your git repository which runs your `npm test` on pre-commit observed · 2026-08-28
Health v2 · maintenance only
58/100
- Activity 79
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4893
- days_rel: n/a
- days_push: 127
- n_releases_24m: 0
Adoption not part of the score
1882 stars · 148 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An npm package that automatically installs a git pre-commit hook into your repository, running your npm test or other package. scripts before each commit. It is configured entirely through your package. and can be bypassed with git commit --no-verify.
Use cases
- run tests before every git commit
- block commits that fail linting or coverage checks
- install pre-commit hooks for npm modules
- run multiple npm scripts in order on commit
- enforce code style checks before committing
When to choose
- you have a Node.js project using npm scripts and want commit-time checks
- you want zero-config git hooks driven by package.
- you need to back up and replace existing pre-commit hooks safely
When to avoid
- you use Husky or a more modern git hooks manager
- your project is not Node.js/npm based
- you need shared hooks across many languages or monorepo tooling
Facets
library · maturity maintenance
testing developer-tools cli developer-tools version-control testing cli cross-platform git-hooks pre-commit npm-scripts linting ci automation nodejs
2 sources
- readme: https://github.com/observing/pre-commit · fetched 2026-08-28 · 52faed76ce98
- registry_npm: https://registry.npmjs.org/pre-commit · fetched 2026-08-29 · 2a265a8bc3ab
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| observing/pre-commit | main | 58 |
For agents
markdown · JSON · MCP: product_card(name="observing/pre-commit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem