简体   繁体   中英

create a GitHub repository from node-js

I want to be able to create a GitHub repository and to be able to commit and push from my NodeJS application.

I have searched a lot for a working example but I haven't found it yet.

Can anyone recommend libraries with documentation I can look at?

Thanks!

Can the Github api help you?

You can find the nodejs library such as this one

You'll need a Github client written for Node. https://github.com/mikedeboer/node-github looks pretty solid, as it covers most of the API. Here's a sample documentation link: http://mikedeboer.github.io/node-github/#repos.prototype.create

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM