{"id":20875605,"url":"https://github.com/ivan-corporation/github-repository-metrics","last_synced_at":"2026-04-11T07:32:47.870Z","repository":{"id":57145747,"uuid":"456844091","full_name":"Ivan-Corporation/github-repository-metrics","owner":"Ivan-Corporation","description":"This simple and small react component can check your repository stars and change theme on light/dark 🔎","archived":false,"fork":false,"pushed_at":"2022-06-25T11:01:19.000Z","size":1138,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T22:06:57.976Z","etag":null,"topics":["api","component","github","npm-package","react","scss","stargazers-count","stars"],"latest_commit_sha":null,"homepage":"https://codesandbox.io/s/github-repository-metrics-lx5juo","language":"TypeScript","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/Ivan-Corporation.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":"2022-02-08T08:25:02.000Z","updated_at":"2022-06-25T11:01:10.000Z","dependencies_parsed_at":"2022-09-06T00:22:19.750Z","dependency_job_id":null,"html_url":"https://github.com/Ivan-Corporation/github-repository-metrics","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Fgithub-repository-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Fgithub-repository-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Fgithub-repository-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ivan-Corporation%2Fgithub-repository-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ivan-Corporation","download_url":"https://codeload.github.com/Ivan-Corporation/github-repository-metrics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243249011,"owners_count":20260768,"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":["api","component","github","npm-package","react","scss","stargazers-count","stars"],"created_at":"2024-11-18T06:47:21.028Z","updated_at":"2025-12-27T10:03:48.067Z","avatar_url":"https://github.com/Ivan-Corporation.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM](https://img.shields.io/npm/v/repository-metrics.svg)](https://www.npmjs.com/package/repository-metrics)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n![NPM](https://img.shields.io/npm/l/repository-metrics)\n![npm](https://img.shields.io/npm/dm/repository-metrics)\n![GitHub stars](https://img.shields.io/github/stars/Ivan-Corporation/github-repository-metrics?style=social)\n![npm bundle size](https://img.shields.io/bundlephobia/minzip/repository-metrics)\n\n\n# Repository metrics for ```react``` ![image](https://user-images.githubusercontent.com/58357980/163430798-92917757-e75e-446e-ae15-6526b62b6c1a.png)\n\n\n\n## This beauty and easy ``(4KB)`` react component can help you ``add metrics`` to your repositories also you can ```change component theme on light/dark```\n----\n## Install:\n```bash\nnpm i repository-metrics\n---\nyarn add repository-metrics\n```\n\n## Usage:\n```jsx\n// don't forget change props\nimport { RepositoryMetrics } from 'repository-metrics';\n\nconst App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003cRepositoryMetrics \n      owner='Ivan-Corporation' \n      repo='Komolio' \n      theme='light' \n      /\u003e\n\n      \u003cRepositoryMetrics \n      owner='Ivan-Corporation' \n      repo='3D-Planet-destroyer' \n      theme='dark' \n      /\u003e\n    \u003c/div\u003e\n  );\n};\n```\n\n\n\n## Examples:\n---\n\n\u003cimg src='./2.png'\u003e\n\u003cimg src='./1.png'\u003e\n\n## Check demo here:\n### https://komolio.netlify.app/projects\n\n\n---\n## Props:\n\n| props  | required | default  | description |\n| ------------- | ------------- | ------------- | ------------- |\n| owner(string)| yes | - | your github account username |\n| repo(string) | yes | - | your repository name|\n| theme(string) | yes | - | theme for component (light/dark) |\n\n\nhttps://www.npmjs.com/package/repository-metrics\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-corporation%2Fgithub-repository-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivan-corporation%2Fgithub-repository-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivan-corporation%2Fgithub-repository-metrics/lists"}