Skip to content
Dev Tools Library

Husky

Simple Git hooks for Node projects.

LibraryOpen source

Sets up Git hooks (pre-commit, commit-msg) through package.json, running lint and tests before each commit.

When to use

In JavaScript/TypeScript projects that want to run lint and tests before committing.

When to avoid

In projects without Node, or if you prefer a multi-language hook manager.

Alternatives

They do a similar job. Compare before choosing.

  • Fast Git hook manager in a single binary.

    CLIOpen source★ 9K
  • Multi-language Git hooks, managed through config.

    CLIOpen source★ 15.7K

From the same area, with a close purpose.

  • Checks whether commit messages follow a convention.

    CLIOpen source★ 18.8K
  • Interactive assistant for writing conventional commits.

    CLIOpen source★ 17.5K
  • Runs linters only on the files in the commit.

    LibraryOpen source★ 14.8K
  • Terminal UI for Git that saves you commands.

    CLIOpen source★ 83.5K