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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    50
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    50
  • 1.0.0
    0

Package Sidebar

Install

npm i github-comment

Weekly Downloads

50

Version

1.0.1

License

MIT

Last publish

Collaborators

  • siddharthkp