# gh-gif

> NodeGH plugin for commenting on pull requests/issues using GIF reactions

Latest version **0.3.3** (published 2015-05-28) · BSD license · 0 weekly downloads

## Install

```sh
npm install gh-gif
pnpm add gh-gif
yarn add gh-gif
bun add gh-gif
```

Provides the command `gh-gif`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.3 |
| Published | 2015-05-28 |
| First published | 2013-09-15 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 21 |
| Author | Zeno Rocha |
| Maintainers | zenorocha, eduardolundgren, henvic |
| Keywords | gh, nodegh, gif, plugin |

## Links

- npm: https://www.npmjs.com/package/gh-gif
- Repository: git@github.com:node-gh/gh-gif
- Homepage: https://github.com/node-gh/gh-gif
- Issues: https://github.com/node-gh/gh-gif/issues
- npm.io page: https://npm.io/package/gh-gif

## Dependencies (1)

- [giphy-wrapper](https://npm.io/package/giphy-wrapper.md) 0.0.1

## Alternatives

- [@oh-my-pi/pi-natives](https://npm.io/package/@oh-my-pi/pi-natives.md) — 51.8K weekly downloads
- [@capgo/capacitor-light-sensor](https://npm.io/package/@capgo/capacitor-light-sensor.md) — 3.0K weekly downloads
- [@heyhuynhgiabuu/pi-diff](https://npm.io/package/@heyhuynhgiabuu/pi-diff.md) — 492 weekly downloads
- [@lotsa/verdant-lang-asm](https://npm.io/package/@lotsa/verdant-lang-asm.md) — 38 weekly downloads
- [new-era-syntax](https://npm.io/package/new-era-syntax.md) — 20 weekly downloads

## Recent versions

- 0.3.3 (latest) — 2015-05-28
- 0.3.2 — 2015-05-16
- 0.3.0 — 2015-03-06
- 0.1.4 — 2014-03-21
- 0.1.3 — 2013-09-23
- 0.1.1 — 2013-09-16
- 0.1.0 — 2013-09-15

## README

# GH Gif

[![NPM version](http://img.shields.io/npm/v/gh-gif.svg?style=flat)](http://npmjs.org/gh-gif)
[![NPM downloads](http://img.shields.io/npm/dm/gh-gif.svg?style=flat)](http://npmjs.org/gh-gif)
[![Build Status](http://img.shields.io/travis/node-gh/gh-gif/master.svg?style=flat)](https://travis-ci.org/node-gh/gh-gif)
[![Dependencies Status](http://img.shields.io/david/node-gh/gh-gif.svg?style=flat)](https://david-dm.org/node-gh/gh-gif)
[![DevDependencies Status](http://img.shields.io/david/dev/node-gh/gh-gif.svg?style=flat)](https://david-dm.org/node-gh/gh-gif#info=devDependencies)

![DaftPunktocat](https://cloud.githubusercontent.com/assets/398893/3528215/09d7c124-078d-11e4-8ed7-683d3a0936f6.gif)

NodeGH plugin for commenting on pull requests/issues using GIF reactions.

> Maintained by [Zeno Rocha](https://github.com/zenorocha) and [Eduardo Lundgren](https://github.com/eduardolundgren).

## Install

```
[sudo] npm install -g gh gh-gif
```

## Usage

```
gh gif
```

Option             | Usage        | Type
---                | ---          | ---
`-n`, `--number`   | **Required** | `Number`
`-R`, `--reaction` | **Required** | `String`
`-c`, `--comment`  | *Optional*   | `String`
`-b`, `--best`     | *Optional*   | `Boolean`
`-B`, `--bestof`   | *Optional*   | `Number`
`-i`, `--image`    | *Optional*   | `String`
`-r`, `--repo`     | *Optional*   | `String`
`-u`, `--user`     | *Optional*   | `String`

#### Examples

* Comment on pull request/issue #75 with a happy reaction.

    ```
gh gif 75 --reaction happy
    ```

You can also use --comment

    ```
gh gif 75 --comment "This is cool" --reaction congratulation
    ```

* Comment on pull request/issue #75 of a certain repo with a surprised reaction.

    ```
gh gif 75 --reaction surprised --user node-gh --repo gh-gif
    ```

* Comment on pull request/issue #75 using a certain image.

    ```
gh gif 75 --image http://media1.giphy.com/media/5DQdk5oZzNgGc/original.gif
    ```

* Comment on multiple pull requests/issues at the same time.

	```
gh gif --reaction happy --number 1 --number 2
	```

* Comment on pull request/issue #75 with the best search result

    ```
gh gif 75 --reaction happy --best
    ```

* Comment on pull request/issue #75 with a random GIF of the first three result items.

    ```
gh gif 75 --reaction happy --bestof 3
    ```

## Testing

Check [Travis](https://travis-ci.org/node-gh/gh-gif) for continous integration results.

* Run [JSHint](http://www.jshint.com/), a tool to detect errors and potential problems.

    ```
npm run-script lint
    ```

* Run [Mocha](http://visionmedia.github.io/mocha/), a unit test framework.

    ```
npm run-script test
    ```

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -m 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## History

Check [Release](https://github.com/node-gh/gh-gif/releases) list.

## License

[BSD License](https://github.com/node-gh/gh/blob/master/LICENSE.md)

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