# yorkie

> githooks management forked from husky

Latest version **2.0.0** (published 2018-08-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install yorkie
pnpm add yorkie
yarn add yorkie
bun add yorkie
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2018-08-09 |
| First published | 2018-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 4 |
| Unpacked size | 21.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 608 |
| Maintainers | yyx990803 |
| Keywords | git, hook, hooks, pre-commit, precommit, post-commit, postcommit, pre-push, prepush, post-merge, postmerge, test |

## Links

- npm: https://www.npmjs.com/package/yorkie
- Repository: https://github.com/yyx990803/yorkie
- Issues: https://github.com/yyx990803/yorkie/issues
- npm.io page: https://npm.io/package/yorkie

## Dependencies (4)

- [execa](https://npm.io/package/execa.md) ^0.8.0
- [is-ci](https://npm.io/package/is-ci.md) ^1.0.10
- [strip-indent](https://npm.io/package/strip-indent.md) ^2.0.0
- [normalize-path](https://npm.io/package/normalize-path.md) ^1.0.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2018-08-09
- 1.0.3 — 2018-01-08
- 1.0.2 — 2018-01-07
- 1.0.1 — 2018-01-06
- 1.0.0 — 2018-01-06

## README

# yorkie

> Git hooks made easy

This is a fork of [husky](https://github.com/typicode/husky) with a few changes:

- Prioritizes `package.json` located next to `.git` directory, instead of hard-coded upward search. This avoids the problem when a root package in a lerna monorepo and a sub package both depends on husky, it gets confused and double-updates the root git hooks with wrong paths.

- Changed where hooks are read from in `package.json`:

  **Before**

  ``` json
  {
    "scripts": {
      "precommit": "foo"
    }
  }
  ```

  **After**

  ``` json
  {
    "gitHooks": {
      "pre-commit": "foo"
    }
  }
  ```

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