# reg-keygen-git-hash-plugin

> Detect the snapshot key to be compare with using Git hash.

Latest version **0.14.5** (published 2025-08-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install reg-keygen-git-hash-plugin
pnpm add reg-keygen-git-hash-plugin
yarn add reg-keygen-git-hash-plugin
bun add reg-keygen-git-hash-plugin
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 0.14.5 |
| Published | 2025-08-26 |
| First published | 2017-07-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 106.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1294 |
| Author | Quramy |
| Maintainers | quramy |
| Keywords | reg, reg-suit-plugin |

## Links

- npm: https://www.npmjs.com/package/reg-keygen-git-hash-plugin
- Repository: https://github.com/reg-viz/reg-suit
- Homepage: https://github.com/reg-viz/reg-suit#readme
- Issues: https://github.com/reg-viz/reg-suit/issues
- npm.io page: https://npm.io/package/reg-keygen-git-hash-plugin

## Dependencies (2)

- [shell-escape](https://npm.io/package/shell-escape.md) ^0.2.0
- [reg-suit-util](https://npm.io/package/reg-suit-util.md) ^0.14.3

## Recent versions

- 0.14.5 (latest) — 2025-08-26
- 0.14.3 — 2024-03-05
- 0.14.2 — 2024-03-01
- 0.14.0 — 2024-02-26
- 0.13.0 — 2024-01-19
- 0.12.2 — 2023-07-04
- 0.12.1 — 2022-06-08
- 0.11.1 — 2021-11-05
- 0.11.0 — 2021-10-27
- 0.10.17 — 2021-10-16
- 0.10.16 — 2021-06-08
- 0.10.15 — 2021-03-12
- 0.10.14 — 2021-02-03
- 0.10.12 — 2021-01-20
- 0.10.11 — 2020-12-30
- … 47 more at https://npm.io/package/reg-keygen-git-hash-plugin/versions

## README

# reg-keygen-git-hash-plugin

A reg-suit plugin to detect the snapshot key to be compare with using Git commit hash.

## Install

```sh
npm i reg-keygen-git-hash-plugin -D
```

## Detection expected commit

This plugin detects automatically the parent's commit which is the source of the topic branch. And use the snapshot result of the detected commit as the expected result of regression testing.

![](images/gh_flow.png)

And if your topic branch has the merge commit from the parent(i.e. `master`) branch, this plugin uses this merge commit hash as the expected snapshot key.

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