husky
Modern native Git hooks made easy
Last updated 7 hours ago by typicode .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install husky 
SYNC missed versions from official npm registry.

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:

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

Add a hook:

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

Make a commit:

git commit -m "Keep calm and commit"
# `npm test` will run

Documentation

https://typicode.github.io/husky

Current Tags

  • 7.0.4                                ...           latest (7 hours ago)

192 Versions

  • 7.0.4                                ...           7 hours ago
  • 7.0.3                                ...           7 hours ago
  • 7.0.2                                ...           2 months ago
  • 7.0.1                                ...           3 months ago
  • 7.0.0                                ...           4 months ago
  • 6.0.0                                ...           7 months ago
  • 5.2.0                                ...           7 months ago
  • 5.1.3                                ...           8 months ago
  • 5.1.2                                ...           8 months ago
  • 5.1.1                                ...           8 months ago
  • 5.1.0                                ...           8 months ago
  • 5.0.9                                ...           8 months ago
  • 5.0.8                                ...           9 months ago
  • 5.0.7                                ...           9 months ago
  • 4.3.8                                ...           9 months ago
  • 4.3.7                                ...           9 months ago
  • 4.3.6                                ...           10 months ago
  • 5.0.6                                ...           10 months ago
  • 5.0.5                                ...           10 months ago
  • 4.3.5                                ...           10 months ago
  • 4.3.4                                ...           a year ago
  • 4.3.3                                ...           a year ago
  • 4.3.2                                ...           a year ago
  • 4.3.1                                ...           a year ago
  • 5.0.4                                ...           a year ago
  • 5.0.3                                ...           a year ago
  • 5.0.2                                ...           a year ago
  • 5.0.1                                ...           a year ago
  • 5.0.0                                ...           a year ago
  • 5.0.0-beta.0                                ...           a year ago
  • 5.0.0-alpha.6                                ...           a year ago
  • 5.0.0-alpha.5                                ...           a year ago
  • 5.0.0-alpha.4                                ...           a year ago
  • 5.0.0-alpha.3                                ...           a year ago
  • 5.0.0-alpha.2                                ...           a year ago
  • 5.0.0-alpha.1                                ...           a year ago
  • 5.0.0-alpha.0                                ...           a year ago
  • 4.3.0                                ...           a year ago
  • 4.2.5                                ...           2 years ago
  • 4.2.4                                ...           2 years ago
  • 4.2.3                                ...           2 years ago
  • 4.2.2                                ...           2 years ago
  • 4.2.1                                ...           2 years ago
  • 4.2.0                                ...           2 years ago
  • 4.1.0                                ...           2 years ago
  • 4.0.10                                ...           2 years ago
  • 4.0.9                                ...           2 years ago
  • 4.0.8                                ...           2 years ago
  • 4.0.7                                ...           2 years ago
  • 4.0.6                                ...           2 years ago
  • 4.0.5                                ...           2 years ago
  • 4.0.4                                ...           2 years ago
  • 4.0.3                                ...           2 years ago
  • 4.0.2                                ...           2 years ago
  • 4.0.1                                ...           2 years ago
  • 4.0.0                                ...           2 years ago
  • 3.1.0                                ...           2 years ago
  • 4.0.0-beta.5                                ...           2 years ago
  • 4.0.0-beta.4                                ...           2 years ago
  • 3.0.9                                ...           2 years ago
  • 4.0.0-beta.3                                ...           2 years ago
  • 3.0.8                                ...           2 years ago
  • 3.0.7                                ...           2 years ago
  • 4.0.0-beta.2                                ...           2 years ago
  • 3.0.6                                ...           2 years ago
  • 3.0.5                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 4.0.0-beta.1                                ...           2 years ago
  • 4.0.0-beta.0                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-0                                ...           2 years ago
  • 2.7.0                                ...           2 years ago
  • 2.6.0                                ...           2 years ago
  • 2.5.0                                ...           2 years ago
  • 2.4.1                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
  • 1.0.0-rc.15                                ...           3 years ago
  • 1.0.0-rc.14                                ...           3 years ago
  • 1.0.0-rc.13                                ...           3 years ago
  • 1.0.0-rc.12                                ...           3 years ago
  • 1.0.0-rc.11                                ...           3 years ago
  • 1.0.0-rc.10                                ...           3 years ago
  • 1.0.0-rc.9                                ...           3 years ago
  • 1.0.0-rc.8                                ...           3 years ago
  • 1.0.0-rc.7                                ...           3 years ago
  • 1.0.0-rc.6                                ...           3 years ago
  • 1.0.0-rc.5                                ...           3 years ago
  • 1.0.0-rc.4                                ...           3 years ago
  • 1.0.0-rc.3                                ...           3 years ago
  • 1.0.0-rc.2                                ...           3 years ago
  • 1.0.0-rc.1                                ...           4 years ago
  • 0.15.0-rc.13                                ...           4 years ago
  • 0.15.0-rc.12                                ...           4 years ago
  • 0.15.0-rc.11                                ...           4 years ago
  • 0.15.0-rc.10                                ...           4 years ago
  • 0.15.0-rc.9                                ...           4 years ago
  • 0.15.0-rc.8                                ...           4 years ago
  • 0.15.0-rc.7                                ...           4 years ago
  • 0.15.0-rc.6                                ...           4 years ago
  • 0.15.0-rc.5                                ...           4 years ago
  • 0.15.0-rc.4                                ...           4 years ago
  • 0.15.0-rc.3                                ...           4 years ago
  • 0.15.0-rc.2                                ...           4 years ago
  • 0.15.0-rc.1                                ...           4 years ago
  • 0.15.0-beta.16                                ...           4 years ago
  • 0.15.0-beta.15                                ...           4 years ago
  • 0.15.0-beta.14                                ...           4 years ago
  • 0.15.0-beta.13                                ...           4 years ago
  • 0.15.0-beta.12                                ...           4 years ago
  • 0.15.0-beta.11                                ...           4 years ago
  • 0.15.0-beta.10                                ...           4 years ago
  • 0.15.0-beta.9                                ...           4 years ago
  • 0.15.0-beta.8                                ...           4 years ago
  • 0.15.0-beta.7                                ...           4 years ago
  • 0.15.0-beta.6                                ...           4 years ago
  • 0.15.0-beta.5                                ...           4 years ago
  • 0.15.0-beta.4                                ...           4 years ago
  • 0.15.0-beta.3                                ...           4 years ago
  • 0.15.0-beta.2                                ...           4 years ago
  • 0.15.0-beta.1                                ...           4 years ago
  • 0.15.0-beta.0                                ...           4 years ago
  • 0.14.3                                ...           4 years ago
  • 0.14.2                                ...           4 years ago
  • 0.14.1                                ...           4 years ago
  • 0.14.1-2                                ...           4 years ago
  • 0.14.1-1                                ...           4 years ago
  • 0.14.1-0                                ...           4 years ago
  • 0.14.0                                ...           4 years ago
  • 0.14.0-1                                ...           4 years ago
  • 0.14.0-0                                ...           4 years ago
  • 0.13.4                                ...           4 years ago
  • 0.13.3                                ...           5 years ago
  • 0.13.3-0                                ...           5 years ago
  • 0.13.2                                ...           5 years ago
  • 0.13.1                                ...           5 years ago
  • 0.13.0                                ...           5 years ago
  • 0.13.0-1                                ...           5 years ago
  • 0.13.0-0                                ...           5 years ago
  • 0.12.0                                ...           5 years ago
  • 0.12.0-2                                ...           5 years ago
  • 0.12.0-1                                ...           5 years ago
  • 0.12.0-0                                ...           5 years ago
  • 0.11.9                                ...           5 years ago
  • 0.11.8                                ...           5 years ago
  • 0.11.7                                ...           5 years ago
  • 0.11.6                                ...           5 years ago
  • 0.11.5                                ...           5 years ago
  • 0.11.4                                ...           6 years ago
  • 0.11.3                                ...           6 years ago
  • 0.11.2                                ...           6 years ago
  • 0.11.1                                ...           6 years ago
  • 0.11.0                                ...           6 years ago
  • 0.10.2                                ...           6 years ago
  • 0.10.1                                ...           6 years ago
  • 0.10.0                                ...           6 years ago
  • 0.9.3                                ...           6 years ago
  • 0.9.2                                ...           6 years ago
  • 0.9.1                                ...           6 years ago
  • 0.9.0                                ...           6 years ago
  • 0.8.1                                ...           6 years ago
  • 0.8.0                                ...           6 years ago
  • 0.7.0                                ...           7 years ago
  • 0.6.2                                ...           7 years ago
  • 0.6.1                                ...           7 years ago
  • 0.6.0                                ...           7 years ago
  • 0.5.4                                ...           7 years ago
  • 0.5.3                                ...           7 years ago
  • 0.5.2                                ...           7 years ago
  • 0.5.1                                ...           7 years ago
  • 0.5.0                                ...           7 years ago
  • 0.4.3                                ...           7 years ago
  • 0.4.2                                ...           7 years ago
  • 0.4.1                                ...           7 years ago
  • 0.4.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 11,530
This Week 56,381
This Month 189,328
Last Day 14,921
Last Week 84,046
Last Month 363,410
Dependencies (0)
None
Dev Dependencies (7)
Dependents (2439)

Copyright 2014 - 2021 © npmmirror.com |