项目
在 GitHub 查看
typicode/husky
typicode/husky has 35,385 GitHub stars and 1,101 forks. GitHot measured +1 stars in 24 hours. Last checked 2026-11-08 14:49 UTC. Last push 2026-03-19.
轻松使用 Git hooks 🐶 汪!
可以做什么
- Just 2 kB (📦 gzipped) with no dependencies
- Fastest due to being lightweight (runs in ~1ms)
- Uses new Git feature (core.hooksPath)
- macOS, Linux, Windows
实测星标增长
- 24小时
- +1
- 7天
- 正在收集历史
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文husky
Modern native Git hooks made easy
Husky improves your commits and more 🐶 woof!
[!NOTE] Using React? See MistCSS typed CSS components.
Features
- Just
2 kB(📦 gzipped) with no dependencies - Fastest due to being lightweight (runs in
~1ms) - Uses new Git feature (
core.hooksPath) - Supports:
- macOS, Linux, Windows
- Git GUIs, Node version managers, custom hooks directory, nested projects, monorepos
- All 13 client-side Git hooks
And more:
- Branch-specific hooks
- Use POSIX shell to script advanced cases
- Adheres to Git's native hook organization
- Aligns with npm best practices using
preparescript - Opt-in/opt-out options
- User-friendly error messages
Changelog
Check out the v9 changelog to discover all the new and improved features!
Documentation
https://typicode.github.io/husky
Important Upgrading from v4 to v9 requires migrating previous config, please see the docs.
Sponsors
Support this project by becoming a sponsor here 💖