Skip to content

Latest commit

History

History
81 lines (60 loc) 路 3.48 KB

index.md

File metadata and controls

81 lines (60 loc) 路 3.48 KB

npm

Modern native git hooks made easy

Husky enhances your commits and more 馃惗 woof!

Automatically lint your commit messages, code, and run tests upon committing or pushing.

Get started here.

Check out the v9 changelog to discover all the new and improved features! 馃殌

Features

  • Just 2 kB (馃摝 gzipped) with no dependencies
  • Extremely fast (runs in ~1ms)
  • Uses new Git feature (core.hooksPath)
  • Supports:

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 prepare script
  • Opt-in/opt-out options
  • User-friendly error messages

Sponsors

Support this project by becoming a sponsor here 馃挅

Special Sponsor


Get rewards for your open-source contributions

GitHub

Open Collective

Used by

Husky is used in over 1.3M projects on GitHub, including:

Articles