github-comment

1.0.1 • Public • Published



Comment on a pull request/issue on GitHub

 

usage

npm install github-comment

 

In your code:

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

 

like it?

⭐️ this repo

 

license

MIT © siddharthkp

Readme

Keywords

none

Package Sidebar

Install

npm i github-comment

Weekly Downloads

55

Version

1.0.1

License

MIT

Last publish

Collaborators

  • siddharthkp