Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

husky

> 开发工具
Open source

Git hooks made easy 🐶 woof!

35.2K stars0 likes6 views
WebsiteGitHub

About

Git hooks made easy 🐶 woof!

# husky [](https://github.com/typicode/husky/actions) > Modern native Git hooks made easy Husky improves your commits and more 🐶 _woof!_ > [!NOTE] > Using React? See [MistCSS](https://github.com/typicode/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](https://git-scm.com/docs/githooks) And more: - Branch-specific hooks - Use POSIX shell to script advanced cases - Adheres to Git's native hook organization - Aligns with [npm](https://docs.npmjs.com/cli/v10/using-npm/scripts#best-practices) best practices using `prepare` script - Opt-in/opt-out options - User-friendly error messages ## Changelog [Check out the v9 changelog](https://github.com/typicode/husky/releases/tag/v9.0.1) 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](https://github.com/sponsors/typicode) 💖 ### GitHub

### Open Collective

Issues· 108 open

View all issuesOpen on GitHub
  • #1648

    邀请 husky 加入 GithubStarMate,让更多人发现你的作品

    Updated Sep 26, 2026
  • #1643

    Docs: init.sh nvm example only solves PATH, not shell function availability in hook subprocesses

    Updated Jul 1, 2026
  • #1553

    Configured /env sh incompatible with hook

    Updated May 14, 2026
  • #1431

    Provide documentation for using Husky with `git-lfs`

    Updated Apr 15, 2026
  • #1292

    [Windows] [lint-staged] [GitHub Desktop] .husky/pre-commit script is unable to find `npx`

    Updated Apr 10, 2026
  • #1601

    Input is blocked when running git push inside Husky hooks

    Updated Mar 20, 2026
  • #1632

    Husky global config file is not called if no local hook exists

    Updated Mar 9, 2026
  • #1561

    Different results with `npx husky init` and `npm run prepare`

    Updated Feb 2, 2026
  • #1631

    husky trying to open package.json

    Updated Jan 23, 2026
  • #1551

    Pre-push hook stuck after unit tests pass

    Updated Jan 21, 2026

> Tags

JavaScriptcommitgithookspre-commit

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具