{"schemaVersion":1,"id":"husky","name":"Husky","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/husky/","officialUrl":"https://github.com/typicode/husky","isCatalog":false,"description":"Connects project Git hooks, allowing required local checks before commits and pushes without manually configuring every clone.","tasks":["Connect consistent project Git hooks","Connect a hook to a project script and test a successful/failing commit"],"categoryIds":["infrastructure","quality"],"subcategoryIds":["infrastructure.developer","quality.review"],"tags":["Husky","build","Development"],"aliases":["typicode/husky","husky","github-hooks-manager"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Connect consistent project Git hooks","chooseWhen":["Connect consistent project Git hooks","Connect a hook to a project script and test a successful/failing commit"],"considerInstead":[],"requirements":["A Git repository and commands available through the hook's PATH; manual installation uses a prepare script and a one-time husky run."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Hooks can be skipped through --no-verify or HUSKY=0, so they do not guarantee that checks are unavoidable. If devDependencies are not installed, prepare:husky may fail."],"faq":[{"question":"What can you use for free in Husky?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with Husky?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for Husky?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with Husky?","answer":"Choose an existing check for the required Git event. Connect a hook to a project script and test a successful/failing commit. Add the workflow to scripts or CI with a clear report."},{"question":"Why do Git hooks work in the terminal but not in a GUI?","answer":"A GUI may not load the Node version manager or obtain the required PATH. Husky reads ~/.config/husky/init.sh before a hook: configure the version manager there. A hook is a .husky/pre-commit file containing POSIX shell commands, which can run a separate Node script."}],"related":[],"sources":["https://github.com/typicode/husky","https://raw.githubusercontent.com/typicode/husky/HEAD/README.md","https://raw.githubusercontent.com/typicode/husky/HEAD/LICENSE","https://www.open-source-tools.com/","https://typicode.github.io/husky/how-to.html"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Connect consistent project Git hooks.","inputs":["A repository, package manifests, and configuration.","A compatible runtime and the target build command."],"steps":["Choose an existing check for the required Git event.","Connect a hook to a project script and test a successful/failing commit.","Add the workflow to scripts or CI with a clear report."],"checks":["A clean copy of the project reproduces the result.","Errors produce a nonzero exit code and clear diagnostics."]},"sources":["https://github.com/typicode/husky","https://raw.githubusercontent.com/typicode/husky/HEAD/README.md","https://raw.githubusercontent.com/typicode/husky/HEAD/LICENSE","https://www.open-source-tools.com/","https://typicode.github.io/husky/how-to.html"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Build / code quality tool","kind":"tool","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/typicode/husky","label":"Official source"},{"url":"https://raw.githubusercontent.com/typicode/husky/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/typicode/husky/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://typicode.github.io/husky/how-to.html","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}