Netherworld's Pretend Minibar
    Have ideas to improve npm?Join in the discussion! »

    husky
    TypeScript icon, indicating that this package has built-in type declarations

    6.0.0 • Public • Published

    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

    Install

    npm i husky

    DownloadsWeekly Downloads

    4,672,400

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    6.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar