---
title: "Discussion on \"NPM package which you should add to almost any git repo😺\" | Hashnode"
description: "Discussion on \"NPM package which you should add to almost any git repo😺\". What are Git Hooks? \n  These are scripts that run on your repository at specific event.\nHow is this useful?\n  You can run a specific task before making any commit.\nSet a rule for commit messages.\nBasically anything you can write inside a script. So e..."
url: "https://hashnode.com/posts/husky/5fe2eb9777471c04b4b30273"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [NPM package which you should add to almost any git repo😺](https://akhildaphara.hashnode.dev/husky?utm_source=hashnode&utm_medium=feed)

What are Git Hooks? These are scripts that run on your repository at specific event. How is this useful? You can run a specific task before making any commit. Set a rule for commit messages. Basically anything you can write inside a script. So e...

Dec 23, 2020 · 4 min read · akhildaphara.hashnode.dev  
Updated Jan 18, 2021  
Read the article

-   [#git](https://hashnode.com/tag/git)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#eslint](https://hashnode.com/tag/eslint)
-   [#prettier](https://hashnode.com/tag/prettier)

## Written by

[Akhil Daphara](https://hashnode.com/@akhildaphara)

@akhildaphara

  
[View profile](https://hashnode.com/@akhildaphara)

Backend Developer

## Responses

Comments are turned off for this post.
