typicode/husky

Git hooks made easy 🐢 woof!

35,311

stars

990

commits

JavaScript

primary language

Mar 19, 2026

updated

typicode.github.io/husky
commit
git
hooks
pre-commit
Browse cluster: Git Hooks and Pre-commit Tools β†’

README

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

Contributors

(top 30 of 124)

typicode

839 commits

dependabot[bot]

10 commits

Byron2016

4 commits

typicode/husky

Git hooks made easy 🐢 woof!

35,311

stars

990

commits

JavaScript

primary language

Mar 19, 2026

updated

typicode.github.io/husky
commit
git
hooks
pre-commit
Browse cluster: Git Hooks and Pre-commit Tools β†’

README

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

Contributors

(top 30 of 124)

typicode

839 commits

dependabot[bot]

10 commits

Byron2016

4 commits

Languages

JavaScript

92.1%

Shell

7.9%