# husky **Repository Path**: mirrors_glensc/husky ## Basic Information - **Project Name**: husky - **Description**: Git hooks made easy 🐶 woof! - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-10-24 - **Last Updated**: 2026-02-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # husky > Modern native Git hooks made easy Husky improves your commits and more 🐶 *woof!* # Install ``` npm install husky --save-dev ``` # Usage Edit `package.json > prepare` script and run it once: ```sh npm pkg set scripts.prepare="husky install" npm run prepare ``` Add a hook: ```sh npx husky add .husky/pre-commit "npm test" git add .husky/pre-commit ``` Make a commit: ```sh git commit -m "Keep calm and commit" # `npm test` will run ``` # Documentation https://typicode.github.io/husky