---
title: "Discussion on \"Compress images using a pre-commit hook.\" | Hashnode"
description: "Discussion on \"Compress images using a pre-commit hook.\". Learn how to compress images using a pre-commit hook."
url: "https://hashnode.com/posts/compress-images-using-a-pre-commit-hook/6283fa897b02ca162edaa879"
---

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

Discussion

# [Compress images using a pre-commit hook.](https://plxity.hashnode.dev/compress-images-using-a-pre-commit-hook?utm_source=hashnode&utm_medium=feed)

Learn how to compress images using a pre-commit hook.

May 17, 2022 · 3 min read · plxity.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#images](https://hashnode.com/tag/images)
-   [#svg](https://hashnode.com/tag/svg)
-   [#compression](https://hashnode.com/tag/compression)
-   [#webdevelopment](https://hashnode.com/tag/webdevelopment)

## Written by

[Apoorv Taneja](https://hashnode.com/@plxity)

@plxity · Pune, India

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

JavaScript Developer

I'm a frontend engineer who loves to craft beautiful experiences on the web.

## Responses 2

Markdown supported · ⌘↵ to post

[andrews deleon](https://hashnode.com/@candysweet)

[Oct 5, 2022](https://hashnode.com/posts/compress-images-using-a-pre-commit-hook/6283fa897b02ca162edaa879/comment/633cda6412186eae2bef75f2)

A tutorial about to automate your workflow in javascript to compress image as soon as [tunnel rush](https://tunnelrush.co/) you commit your code. This great article gave me an idea to start a business.

[elilybee](https://hashnode.com/@candycandy)

[Oct 2, 2022](https://hashnode.com/posts/compress-images-using-a-pre-commit-hook/6283fa897b02ca162edaa879/comment/63394670e594fa4ba3b90e61)

Nice to meet you too, let's play diggy with me. [Diggy](https://diggy.games/) is a fun gold digger game that will surely bring you great moments. Let's play together, discover the mysterious underground land and become rich.
