Nodding Previously Managed
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

hitched

1.1.25 • Public • Published

hitched logo


Git hooks, made easy and lightweight for Node

GitHub | Hooks list | Migrating | NPM

hitched makes Git hooks easy

With hitched, you can easily prevent garbage-y commits and keep bad code out of your repositories.

Installation

Simply install hitched as a dependency...

npm install --save hitched

And you're now able to use all of the nifty Git hooks, right in your package scripts.

package.json: "scripts"

{
    "precommit": "npm test",
    "prepush": "npm test",
    "...": "..."
}

Pretty awesome, right?

Migration guide / Why migrate?

If you're migrating from another Node Git hook package or are considering doing so, have a look at the migration guide: Migrating to hitched

Full list of Git hooks

hitched supports all common Git hooks.

For a full list of supported Git hooks and information about the hooks, see the list over here.

hitched in CI environments

See the docs article: Using hitched in a CI environment

install

npm i hitched

Downloadsweekly downloads

18

version

1.1.25

license

SEE LICENSE IN LICENSE.md

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability