npm.devtool.tech
👏 You can access husky package with using husky variable in browser devtools!
Modern native Git hooks made easy

code/package/bundle size

0B
publish
0B
install
0B
bundle minified
0B
bundle gzipped

husky

Open Collective

Modern native Git hooks made easy

Husky improves your commits and more 🐶 woof!

Usage

Edit package.json > prepare script and run it once:

npm set-script prepare "husky install" && npm run prepare

Add a hook:

npx husky add .husky/pre-commit "npm test"

Make a commit:

$ git commit -m "Keep calm and commit"

Documentation

https://typicode.github.io/husky

Important upgrading from v4 to v6 requires additional steps, please see the docs.

License

MIT

🔎Explore Package🔎CDN Script

Score

Popularity74/100
Quality93/100
Maintenance67/100