npm.io
1.0.1 • Published 8 years ago

github-comment

Licence
MIT
Version
1.0.1
Deps
2
Vulns
25
Weekly
0
Stars
1



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