{"id":15391937,"url":"https://github.com/scrum/git-create-repos-labels","last_synced_at":"2026-01-20T11:03:20.336Z","repository":{"id":44099248,"uuid":"200066078","full_name":"Scrum/git-create-repos-labels","owner":"Scrum","description":"A tiny helper to create of label in the github repository","archived":false,"fork":false,"pushed_at":"2023-03-01T16:40:37.000Z","size":862,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T08:45:56.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Scrum.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-01T14:30:05.000Z","updated_at":"2023-03-04T04:56:31.000Z","dependencies_parsed_at":"2024-10-18T23:09:10.520Z","dependency_job_id":null,"html_url":"https://github.com/Scrum/git-create-repos-labels","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":"0.33333333333333337","last_synced_commit":"d6371fbc215183c314d5139fba76e52a2c3d7653"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/Scrum/git-create-repos-labels","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fgit-create-repos-labels","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fgit-create-repos-labels/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fgit-create-repos-labels/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fgit-create-repos-labels/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scrum","download_url":"https://codeload.github.com/Scrum/git-create-repos-labels/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrum%2Fgit-create-repos-labels/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28602175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T10:46:13.255Z","status":"ssl_error","status_checked_at":"2026-01-20T10:42:51.865Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-01T15:13:32.390Z","updated_at":"2026-01-20T11:03:20.322Z","avatar_url":"https://github.com/Scrum.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-create-repos-labels\n\u003e A iny helper to get a list of labels from the github repository\n\n[![Travis Build Status](https://img.shields.io/travis/Scrum/git-create-repos-labels/master.svg?style=flat-square\u0026label=unix)](https://travis-ci.org/Scrum/git-create-repos-labels)[![Coveralls status](https://img.shields.io/coveralls/Scrum/git-create-repos-labels.svg?style=flat-square)](https://coveralls.io/r/Scrum/git-create-repos-labels)\n\n## Install\n```bash\nnpm install git-create-repos-labels\n```\n\n## Usage\n```js\nimport gitCreateReposLables from 'git-create-repos-labels';\n\nconst repoId = 'MDEwOlJlcG9zaXRvcnkxOTc3MjY4NTY=';\nconst token = '00a82e375c76ef7099c615677b7a97d0024d2465';\nconst label = {color: 'ff0000', name: 'test', description: 'test description'};\n\ngitCreateReposLables({label, repoId, token});\n//=\u003e {id: 1479855803, node_id: 'MDU6TGFiZWwxNDc5ODU1ODAz', url: 'https://api.github.com/repos/post/post-static/labels/test', name: 'test', color: 'ff0000', description: 'test description', default: true}\n```\n\n## API\n#### `label`\n\nType: `object` **`Required`**  \nDefault: `undefined`  \nDescription: *label creation options `{name: string, color: string, description: string}` when `{name, color}` are required*\n\n#### `repoId`\n\nType: `String` **`Required`**  \nDefault: `undefined`  \nDescription: *Repository identificator in Github.*\n\n#### `repo`\n\nType: `String` **`Required`**  \nDefault: `undefined`  \nDescription: *Repository name.*\n\n#### `token`\n\nType: `String` **`Required`**  \nDefault: `undefined`  \nDescription: *You  Github Personal Token. Grab it from your [Developer settings](https://github.com/settings/developers)*\n\n## Recommend\n - [git-get-repos-id](https://github.com/Scrum/git-get-repos-id) -  A tiny helper to get github repository `id` \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fgit-create-repos-labels","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrum%2Fgit-create-repos-labels","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrum%2Fgit-create-repos-labels/lists"}