{"id":21700850,"url":"https://github.com/srivenkat13/github-calendar-component","last_synced_at":"2026-03-02T00:32:37.669Z","repository":{"id":246354955,"uuid":"820805602","full_name":"srivenkat13/github-calendar-component","owner":"srivenkat13","description":"A reusable React component for displaying a Github-like calendar graph 🟩🟩⬛ 🟩with customizable colors.","archived":false,"fork":false,"pushed_at":"2024-06-27T11:20:29.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-17T00:03:23.349Z","etag":null,"topics":["component","github","npm-package","react"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/github-calendar-component","language":"JavaScript","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/srivenkat13.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":"2024-06-27T08:04:11.000Z","updated_at":"2024-06-27T11:20:33.000Z","dependencies_parsed_at":"2024-06-27T10:55:44.172Z","dependency_job_id":"0ac83be9-0bd7-471b-9d6d-20cc06a87ec6","html_url":"https://github.com/srivenkat13/github-calendar-component","commit_stats":null,"previous_names":["srivenkat13/github-calendar-component"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/srivenkat13/github-calendar-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srivenkat13%2Fgithub-calendar-component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srivenkat13%2Fgithub-calendar-component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srivenkat13%2Fgithub-calendar-component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srivenkat13%2Fgithub-calendar-component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srivenkat13","download_url":"https://codeload.github.com/srivenkat13/github-calendar-component/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srivenkat13%2Fgithub-calendar-component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29988046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"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":["component","github","npm-package","react"],"created_at":"2024-11-25T20:16:56.887Z","updated_at":"2026-03-02T00:32:36.930Z","avatar_url":"https://github.com/srivenkat13.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![npm (scoped)](https://img.shields.io/npm/v/github-calendar-component?label=NPM) ![NPM](https://img.shields.io/npm/l/github-calendar-component?label=License) \n# Github calendar component\n![sample-image](./assets/sample.png)\nA reusable React component for displaying a Github-like calendar graph with customizable colors.\n## Installation\n\nTo install the package, use npm:\n\n```bash\nnpm install github-calendar-component\n```\n## Usage\n\nFirst, import the component into your project:\n\n```javascript\nimport {Gitgraph} from 'github-calendar-component';\n```\nUsing the Component\n``` jsx\nimport React from 'react';\nimport {Gitgraph} from 'github-calendar-component';\n// Sample test data\nconst testData = [\n  { date: '2022-01-01T00:00:00.000Z', checked: true },\n  { date: '2022-01-02T00:00:00.000Z', checked: false },\n  // More data...\n];\n\nconst App = () =\u003e {\n  return (\n    \u003cdiv\u003e\n      \u003cGitgraph showMonthNames={true} color=\"blue\" data={testData} /\u003e\n    \u003c/div\u003e\n  );\n};\n\nexport default App;\n\n```\n\n### props\n| Prop  |  Type |  \tDescription | Default  |\n|---|---|---|---|\n| `showMonthNames`  | `boolean`  | Determines whether month names are displayed.  |   `false`|\n| `color`  | `string`  |The color to apply for checked dates.   | `#39d353`  |\n| `data`  | `Array`  | \tAn array of objects containing date and checked properties.  | [ ]  |\n| `seperateMonths` | `boolean`| Determinne whether there is space between each month| `false`|\n\n\n## Author\n [srivenkat13](https://github.com/srivenkat13)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrivenkat13%2Fgithub-calendar-component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrivenkat13%2Fgithub-calendar-component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrivenkat13%2Fgithub-calendar-component/lists"}