githubs-api
Manage GitHub repositories in bulk
About
Manage GitHub repositories in bulk
Install
npm install --save githubs-api
Usage
const GitHubRepos = // instantiate using a github tokenconst githubRepos = githubtoken: 'abc' // update repos in bulk based on settings// specified in requestOptionsawait githubRepos
Example
const GitHubRepos = // provide a personal developer access token// obtained from the GitHub Developer Settings// page at: https://github.com/settings/tokensconst githubRepos = githubtoken: 'abc' // this will update all github repositories owned by// your user (as provided in the token) and set all// of them to remove the issues tab from the project// pageconst requestOptions = repoFilter: type: 'owner' features: issues: 'off' const result = await githubRepos
API
Current API support:
Class | Methods |
---|---|
GitHubRepos | update(repoFilter, features) |
getAll(repoFilter, nameFilter) |
Contributing
Please consult CONTIRBUTING for guidelines on contributing to this project.
Author
githubs-api © Liran Tal, Released under the Apache-2.0 License.