{"id":23613891,"url":"https://github.com/sinchang/react-github-badge","last_synced_at":"2025-05-12T22:18:37.891Z","repository":{"id":57160418,"uuid":"115871110","full_name":"sinchang/react-github-badge","owner":"sinchang","description":"GitHub badge made for react","archived":false,"fork":false,"pushed_at":"2018-12-18T07:33:38.000Z","size":79,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T22:18:30.012Z","etag":null,"topics":["badge","github","react"],"latest_commit_sha":null,"homepage":"https://react-github-badge.netlify.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sinchang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-31T15:33:24.000Z","updated_at":"2018-12-18T07:33:40.000Z","dependencies_parsed_at":"2022-09-09T10:21:11.868Z","dependency_job_id":null,"html_url":"https://github.com/sinchang/react-github-badge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Freact-github-badge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Freact-github-badge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Freact-github-badge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sinchang%2Freact-github-badge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sinchang","download_url":"https://codeload.github.com/sinchang/react-github-badge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253831017,"owners_count":21971009,"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":["badge","github","react"],"created_at":"2024-12-27T17:29:33.232Z","updated_at":"2025-05-12T22:18:37.874Z","avatar_url":"https://github.com/sinchang.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-github-badge\n\n\u003e Inspired by [vue-github-badge](https://github.com/egoist/vue-github-badge)\n\n[![NPM version](https://img.shields.io/npm/v/@sinchang/react-github-badge.svg?style=flat)](https://npmjs.com/package/@sinchang/react-github-badge) \n[![NPM downloads](https://img.shields.io/npm/dm/@sinchang/react-github-badge.svg?style=flat)](https://npmjs.com/package/@sinchang/react-github-badge)\n\n## Demo\n\n[see here](https://react-github-badge.netlify.com)\n\n## Install\n\n```bash\nyarn add @sinchang/react-github-badge\n```\n\n## Usage\n\n```react\nimport GithubBadge from '@sinchang/react-github-badge'\n\n...\n\nrender () {\n  return (\n    \u003cGithubBadge\n      url='sinchang/react-github-badge'\n    /\u003e\n  )\n}\n```\n\n## API\n\n### Props\n\n#### slug\n\nType: `string`\u003cbr\u003e\nRequired: `true`\n\nGitHub slug (owner/repo)\n\n#### width/height\n\nType: `number`\u003cbr\u003e\nDefault: `36`\n\nwidth/height of svg icon\n\n#### fill\n\nType: `string`\u003cbr\u003e\nDefault: `black`\n\nThe `fill` color of svg icon, you can set it to `currentColor` to inherit from parent element.\n\n## Contributing\n\n1. Fork it!\n2. Create your feature branch: `git checkout -b my-new-feature`\n3. Commit your changes: `git commit -am 'Add some feature'`\n4. Push to the branch: `git push origin my-new-feature`\n5. Submit a pull request :D\n\n\n## Author\n\n**react-github-badge** © [sinchang](https://github.com/sinchang), Released under the [MIT](./LICENSE) License.\u003cbr\u003e\nAuthored and maintained by sinchang with help from contributors ([list](https://github.com/sinchang/react-github-badge/contributors)).\n\n\u003e [sinchang.me](https://sinchang.me) · GitHub [@sinchang](https://github.com/sinchang) · Twitter [@sinchangwen](https://twitter.com/sinchangwen)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Freact-github-badge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsinchang%2Freact-github-badge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsinchang%2Freact-github-badge/lists"}