JavaScript MIT

husky

Git hooks made easy 🐶 woof!

T

typicode

Dernière activité 19 mars 2026
typicode/husky

35,3 k

étoiles

1,1 k

forks

108

issues ouvertes

commitgithookspre-commit

Ce README est souvent en anglais.

husky

Node.js CI

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:

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 💖

GitHub

Git Tower

SerpApi

Open Collective

image

Projets similaires

A simple git hooks manager for small projects

JavaScriptgitgit-hookshook
Ttoplenboren
1,7 k étoiles61

⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

Rustgitgit-hookspre-commit
Jj178
8,5 k étoiles243

Some out-of-the-box hooks for pre-commit

Pythongitlinterpre-commit
Ppre-commit
6,7 k étoiles800