Seems like this would be a very useful tool to help people contribute to open source libraries. I'll take the answer off the air.

有帮助吗?

解决方案

yes. use the github-api package: https://www.npmjs.org/package/github-api

(from their docs)

Create Pull Request.

var pull = {
  title: message,
  body: "This pull request has been automatically generated by Prose.io.",
  base: "gh-pages",
  head: "michael" + ":" + "prose-patch",
};
repo.createPullRequest(pull, function(err, pullRequest) {});
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top