pre-commit is a tool that manages and executes pre-commit hooks for your Git repositories, ensuring code quality and consistency before commits are finalized. It allows you to run linters, formatters, and other checks, preventing common errors from entering your codebase. By automating these tasks, pre-commit enhances collaboration and helps maintain a clean and reliable development workflow, leading to higher quality software and fewer integration issues.
The pre-commit npm package had frequent releases in its early years (2013-2015), with several versions published each month. Release activity significantly slowed down after 2015, with occasional releases in 2016. Since then, there have been no new versions published, indicating a period of inactivity lasting over eight years since December 2016, as of August 2025.
Pre-commit npm package downloads show growth over time. Starting with 556k downloads in February 2024, peaks occurred in November 2024 (1.95M) and June 2025 (2.6M). July 2025 saw 2.35M downloads, but August 2025 is incomplete and significantly lower.