{"id":25050863,"url":"https://github.com/okineadev/contributors-table-npm","last_synced_at":"2025-08-01T13:05:30.895Z","repository":{"id":271993489,"uuid":"915223834","full_name":"okineadev/contributors-table-npm","owner":"okineadev","description":"👥 GitHub contributors table generator","archived":false,"fork":false,"pushed_at":"2025-07-01T22:09:36.000Z","size":421,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-31T09:18:45.847Z","etag":null,"topics":["contributors","generator","github","image"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/contributors-table","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/okineadev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null},"funding":{"custom":["https://send.monobank.ua/jar/6rUVs4yasg","https://donatello.to/okineadev"]}},"created_at":"2025-01-11T09:38:25.000Z","updated_at":"2025-04-22T07:19:27.000Z","dependencies_parsed_at":"2025-01-11T10:14:45.333Z","dependency_job_id":"b50acffc-e380-459a-8867-bfeb08fda85c","html_url":"https://github.com/okineadev/contributors-table-npm","commit_stats":null,"previous_names":["okineadev/contributors-table-npm"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/okineadev/contributors-table-npm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okineadev%2Fcontributors-table-npm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okineadev%2Fcontributors-table-npm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okineadev%2Fcontributors-table-npm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okineadev%2Fcontributors-table-npm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okineadev","download_url":"https://codeload.github.com/okineadev/contributors-table-npm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okineadev%2Fcontributors-table-npm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268229234,"owners_count":24217009,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["contributors","generator","github","image"],"created_at":"2025-02-06T09:18:17.540Z","updated_at":"2025-08-01T13:05:30.855Z","avatar_url":"https://github.com/okineadev.png","language":"TypeScript","funding_links":["https://send.monobank.ua/jar/6rUVs4yasg","https://donatello.to/okineadev"],"categories":[],"sub_categories":[],"readme":"# contributors-table\n\n[![NPM Version](https://img.shields.io/npm/v/contributors-table?logo=npm\u0026logoColor=212121\u0026label=version\u0026labelColor=FAFAFA\u0026color=212121)](https://npmjs.com/package/contributors-table) [![Tests Status](https://img.shields.io/github/actions/workflow/status/okineadev/contributors-table-npm/test.yml?label=tests\u0026labelColor=212121)](https://github.com/okineadev/contributors-table-npm/actions/workflows/test.yml) [![Built with Bun](https://img.shields.io/badge/Built_with-Bun-fbf0df?logo=bun\u0026labelColor=212121)](https://bun.sh) [![Formatted with Biome](https://img.shields.io/badge/Formatted_with-Biome-60a5fa?style=flat\u0026logo=biome\u0026labelColor=212121)](https://biomejs.dev/)\n\nGitHub contributors table generator\n\n\u003e Powers the [contributors-table.vercel.app](https://contributors-table.vercel.app) 😎\n\n## ✨ Features\n\n- ⚙️ Flexible settings\n- 🔗 Hyperlinks to contributors profiles\n- 💡 Hints when hovering over an avatar\n- 🎨 Customizable\n- 🤝 Images supported by Markdown on GitHub and anywhere!\n\n## 📦 Installation\n\n```bash\nnpm install contributors-table\n# If you are using Bun\nbun install contributors-table\n```\n\n## 🚀 Usage\n\n### Basic Usage\n\n```ts\nimport { generateContributorsTable } from 'contributors-table'\nimport { Octokit } from '@octokit/core'\n\nconst octokit = new Octokit()\nconst contributorsList = await octokit.request(\n    'GET /repos/{owner}/{repo}/contributors',\n    {\n        owner: 'octocat',\n        repo: 'Hello-World'\n    }\n)\n\nconst image = generateContributorsTable(contributorsList.data)\n// \u003csvg\u003e...\u003c/svg\u003e\n```\n\n### 🏞️ An example of an image\n\n![Contributor Table Example](assets/example.svg)\n\n### Advanced Usage\n\n#### Use another image format\n\n```ts\n// Generate a PNG image\ngenerateContributorsTable(..., { format: 'png' })\n```\n\n### Customize the table\n\n```ts\ngenerateContributorsTable(..., {\n    // The width of the avatars\n    width: 60,\n    // Gap between avatars\n    gap: 10,\n    // The number of avatars per row\n    columns: 10,\n    // Number of rows\n    rows: 7,\n    // The roundness of the avatars\n    roundness: 50,\n    // Stroke around avatars\n    strokeWith: 0.8,\n    // Whether to render avatars on the server side.\n    // If false - then the browser itself downloads images from GitHub\n    // If true - then the script takes care of downloading avatars and embedding them\n    // Always `true` if `format` != `'svg'`\n    ssr: true\n})\n```\n\n## 🤝 Contributing\n\nThank you for considering contributing to contributors-table 😀!\nPlease read the [CONTRIBUTING.md](CONTRIBUTING.md) file for more information about how to contribute to this project.\n\n## ❤️ Support\n\nIf you like this project, consider supporting it by starring ⭐ it on GitHub, sharing it with your friends, or [buying me a coffee ☕](https://github.com/okineadev/contributors-table-npm?sponsor=1)\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokineadev%2Fcontributors-table-npm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokineadev%2Fcontributors-table-npm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokineadev%2Fcontributors-table-npm/lists"}