Key numbers
As of 25 Sept 2026
- Weekly downloads
- 301.4k
- -12% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 4 months ago
- v2.0.0
- GitHub stars
- 1.9k
- 148 forks
- Open issues / PRs
- 61 / 5
- Contributors
- -
- Commits, last 52 weeks
- 3
Downloads
Last week 2026-09-15 to 2026-09-21
301,382 downloads last week, 1,453,706 in the last month. The 12-month change of -12% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 2.0.0, 28 Apr 20264 months ago
- First published
- -
- Last push to GitHub
- 28 Apr 2026149 days before the snapshot
- Repository archived
- No
- Open issues
- 61
- Open pull requests
- 5
- Commits, last 52 weeks
- 3
- Dependents on npm
- 278
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- >=16.13.0
- Runtimes
- -
- Unpacked size (npm)
- 35 kB
- Dependencies (2)
whichcross-spawn
npm install pre-commit- jsDelivr
https://cdn.jsdelivr.net/npm/pre-commit@2.0.0/ - unpkg
https://unpkg.com/pre-commit@2.0.0/ - esm.sh
https://esm.sh/pre-commit@2.0.0
Indexability: Not indexed (discovery only): no category.