GitHub
32.6k
Created 10 years ago, last commit 2 months ago
134 contributors
988 commits
Stars added on GitHub, month by month
11
12
1
2
3
4
5
6
7
8
9
10
2023
2024
Stars added on GitHub, per day, on average
Yesterday
+2
Last week
+3.6
/day
Last month
+4.2
/day
Last 12 months
+5.8
/day
npmPackage on NPM
husky
9.1.6
Monthly downloads on NPM
11
12
1
2
3
4
5
6
7
8
9
10
2023
2024
No dependencies
README

husky

Node.js CI

Modern native Git hooks made easy

Husky improves your commits and more 🐶 woof!

👋 Hey! Using React, Vue or Astro? Check my new project MistCSS to write 50% less code.

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

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 💖

Special Sponsor


Get rewards for your open-source contributions

GitHub

Open Collective