{"id":15762126,"url":"https://github.com/lirantal/githubs-api","last_synced_at":"2026-05-09T01:04:49.358Z","repository":{"id":57251307,"uuid":"210090235","full_name":"lirantal/githubs-api","owner":"lirantal","description":"Manage GitHub repositories in bulk","archived":false,"fork":false,"pushed_at":"2019-10-19T12:56:17.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-11T11:27:52.310Z","etag":null,"topics":["github","github-api","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lirantal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null}},"created_at":"2019-09-22T04:27:52.000Z","updated_at":"2019-10-19T12:54:57.000Z","dependencies_parsed_at":"2022-08-24T17:01:26.745Z","dependency_job_id":null,"html_url":"https://github.com/lirantal/githubs-api","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fgithubs-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fgithubs-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fgithubs-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Fgithubs-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lirantal","download_url":"https://codeload.github.com/lirantal/githubs-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450422,"owners_count":20779405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-api","nodejs"],"created_at":"2024-10-04T11:07:00.052Z","updated_at":"2026-05-09T01:04:49.346Z","avatar_url":"https://github.com/lirantal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ch1 align=\"center\"\u003e\n  githubs-api\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Manage GitHub repositories in bulk\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.org/package/githubs-api\"\u003e\u003cimg src=\"https://badgen.net/npm/v/githubs-api\" alt=\"npm version\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/githubs-api\"\u003e\u003cimg src=\"https://badgen.net/npm/license/githubs-api\" alt=\"license\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/githubs-api\"\u003e\u003cimg src=\"https://badgen.net/npm/dt/githubs-api\" alt=\"downloads\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/lirantal/githubs-api\"\u003e\u003cimg src=\"https://badgen.net/travis/lirantal/githubs-api\" alt=\"build\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/lirantal/githubs-api\"\u003e\u003cimg src=\"https://badgen.net/codecov/c/github/lirantal/githubs-api\" alt=\"codecov\"/\u003e\u003c/a\u003e\n  \u003ca href=\"./SECURITY.md\"\u003e\u003cimg src=\"https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg\" alt=\"Responsible Disclosure Policy\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# About\n\nManage GitHub repositories in bulk\n\n# Install\n\n```bash\nnpm install --save githubs-api\n```\n\n# Usage\n\n```js\nconst {GitHubRepos} = require('githubs-api')\n\n// instantiate using a github token\nconst githubRepos = new GitHubRepos({\n  githubtoken: 'abc'\n})\n\n// update repos in bulk based on settings\n// specified in requestOptions\nawait githubRepos.update(requestOptions)\n```\n\n# Example\n\n```js\nconst {GitHubRepos} = require('githubs-api')\n\n// provide a personal developer access token\n// obtained from the GitHub Developer Settings\n// page at: https://github.com/settings/tokens\nconst githubRepos = new GitHubRepos({\n  githubtoken: 'abc'\n})\n\n// this will update all github repositories owned by\n// your user (as provided in the token) and set all\n// of them to remove the issues tab from the project\n// page\nconst requestOptions = {\n  repoFilter: {\n    type: 'owner'\n  },\n  features: {\n    issues: 'off'\n  }\n}\n\nconst result = await githubRepos.update(requestOptions)\n```\n\n# API\n\nCurrent API support:\n\n| Class       | Methods                        |\n| ----------- | ------------------------------ |\n| GitHubRepos | update(repoFilter, features)   |\n|             | getAll(repoFilter, nameFilter) |\n\n# Contributing\n\nPlease consult [CONTIRBUTING](./CONTRIBUTING.md) for guidelines on contributing to this project.\n\n# Author\n\n**githubs-api** © [Liran Tal](https://github.com/lirantal), Released under the [Apache-2.0](./LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Fgithubs-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flirantal%2Fgithubs-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Fgithubs-api/lists"}