# git-hooks-list

> List of Git hooks

Latest version **4.2.1** (published 2026-01-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install git-hooks-list
pnpm add git-hooks-list
yarn add git-hooks-list
bun add git-hooks-list
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; has provenance.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.2.1 |
| Published | 2026-01-18 |
| First published | 2019-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| Author | fisker Cheung |
| Maintainers | fisker |
| Keywords | git, hooks, list |

## Links

- npm: https://www.npmjs.com/package/git-hooks-list
- Repository: https://github.com/fisker/git-hooks-list
- Homepage: https://github.com/fisker/git-hooks-list#readme
- Issues: https://github.com/fisker/git-hooks-list/issues
- Funding: https://github.com/fisker/git-hooks-list?sponsor=1
- npm.io page: https://npm.io/package/git-hooks-list

## Recent versions

- 4.2.1 (latest) — 2026-01-18
- 4.2.0 — 2026-01-18
- 4.1.1 — 2025-03-08
- 4.1.0 — 2025-03-08
- 4.0.0 — 2025-02-28
- 3.2.0 — 2025-02-05
- 3.1.0 — 2023-02-14
- 3.0.0 — 2021-06-29
- 2.2.0 — 2020-10-21
- 2.1.1 — 2020-09-07
- 2.1.0 — 2020-07-08
- 2.0.0 — 2020-04-26
- 1.0.3 — 2020-02-19
- 1.0.2 — 2020-01-08
- 1.0.1 — 2019-12-28
- … 2 more at https://npm.io/package/git-hooks-list/versions

## README

# git-hooks-list

[![Build Status][github_actions_badge]][github_actions_link]
[![Coverage][coveralls_badge]][coveralls_link]
[![Npm Version][package_version_badge]][package_link]
[![MIT License][license_badge]][license_link]

[github_actions_badge]: https://img.shields.io/github/actions/workflow/status/fisker/git-hooks-list/continuous-integration.yml?style=flat-square
[github_actions_link]: https://github.com/fisker/git-hooks-list/actions?query=branch%3Amain
[coveralls_badge]: https://img.shields.io/coveralls/github/fisker/git-hooks-list/main?style=flat-square
[coveralls_link]: https://coveralls.io/github/fisker/git-hooks-list?branch=main
[license_badge]: https://img.shields.io/npm/l/git-hooks-list.svg?style=flat-square
[license_link]: https://github.com/fisker/git-hooks-list/blob/main/license
[package_version_badge]: https://img.shields.io/npm/v/git-hooks-list.svg?style=flat-square
[package_link]: https://www.npmjs.com/package/git-hooks-list

> List of Git hooks

Data from [Git - githooks Documentation](https://git-scm.com/docs/githooks)

## Install

```bash
yarn add git-hooks-list
```

## Usage

<!-- example start -->

```js
import gitHooks from 'git-hooks-list'

console.log(gitHooks)
//-> ['applypatch-msg', 'pre-applypatch', 'post-applypatch', ... 25 more items]
```

<!-- example end -->

---
_Source: https://npm.io/package/git-hooks-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
