# github-comment

> Comment on a pull request/issue on GitHub

Latest version **1.0.1** (published 2017-11-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install github-comment
pnpm add github-comment
yarn add github-comment
bun add github-comment
```

## 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 | 1.0.1 |
| Published | 2017-11-09 |
| First published | 2017-11-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | siddharthkp |
| Maintainers | siddharthkp |

## Links

- npm: https://www.npmjs.com/package/github-comment
- Repository: https://github.com/siddharthkp/github-comment
- Homepage: https://github.com/siddharthkp/github-comment#readme
- Issues: https://github.com/siddharthkp/github-comment/issues
- npm.io page: https://npm.io/package/github-comment

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) 0.17.0
- [dotenv](https://npm.io/package/dotenv.md) 4.0.0

## Recent versions

- 1.0.1 (latest) — 2017-11-09
- 1.0.0 — 2017-11-09

## README

<p align="center">
  <img src="https://octodex.github.com/images/codercat.jpg" height="200px"/>
  <br><br>
  <b>Comment on a pull request/issue on GitHub</b>
  <br><br>
  <img src="https://travis-ci.org/siddharthkp/github-comment.svg?branch=master&maxAge=3600"/>
</p>

&nbsp;

#### usage

```
npm install github-comment
```

&nbsp;

In your code:

```js
const comment = require('github-comment')

// comment(token, repo, issueId, body)
comment('secret_github_token', 'siddharthkp/github-comment', 1, 'this is a comment')
  .then(response => console.log(response))
  .catch(error => console.log(error))
```

you can create a [personal access token on GitHub here](https://github.com/settings/tokens)

&nbsp;

#### like it?

:star: this repo

&nbsp;

#### license

MIT © [siddharthkp](https://github.com/siddharthkp)

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