
About Husky
Husky makes Git hooks easy to set up in a project. It runs your lint and test scripts when you commit or push.
What it does
Husky installs hooks that call your scripts at points such as pre-commit and commit-msg. Hooks are stored in the project, so everyone who clones the repository gets the same checks. The tool uses the hooks path that Git provides natively, and it supports branch specific hooks and POSIX shell scripts. The project site says it has no dependencies.
Key features
- Hooks for commit, push and other Git events
- Hooks stored in the project folder
- Works on macOS, Linux and Windows
- Branch specific hooks
- Can be turned off globally
Who it's for
Husky suits JavaScript and TypeScript teams that want linting and tests to run before code reaches the remote. It is also common in monorepos and projects with many contributors.
Pricing and good to know
Husky is MIT licensed and free to use. It is set up through an npm package, so the project needs Node.js and a package manager. Hooks run on the developer's machine, so slow checks can frustrate contributors and are often moved to continuous integration.
Highlights
- Runs scripts on commit, push and other Git events
- Stores hooks in the project folder
- Supports branch specific hooks
- Works on macOS, Linux and Windows












