{"id":15601789,"url":"https://github.com/codebender828/file-contributors","last_synced_at":"2025-03-19T22:30:26.020Z","repository":{"id":42915653,"uuid":"248888533","full_name":"codebender828/file-contributors","owner":"codebender828","description":"🦑  Just a function that gets individual contributors for a specific file on github.","archived":false,"fork":false,"pushed_at":"2022-03-26T08:46:03.000Z","size":124,"stargazers_count":5,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-28T21:07:03.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uyl6l.csb.app/","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/codebender828.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}},"created_at":"2020-03-21T01:56:20.000Z","updated_at":"2020-09-01T15:43:58.000Z","dependencies_parsed_at":"2022-09-26T17:00:34.924Z","dependency_job_id":null,"html_url":"https://github.com/codebender828/file-contributors","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/codebender828%2Ffile-contributors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebender828%2Ffile-contributors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebender828%2Ffile-contributors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebender828%2Ffile-contributors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebender828","download_url":"https://codeload.github.com/codebender828/file-contributors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022670,"owners_count":20385135,"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":[],"created_at":"2024-10-03T02:25:16.813Z","updated_at":"2025-03-19T22:30:25.769Z","avatar_url":"https://github.com/codebender828.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/dIlWof6x5"],"categories":[],"sub_categories":[],"readme":"\n\u003cbr /\u003e\n\u003ch1 align=\"center\"\u003e\u003ccode\u003e👩🏽‍💻 file-contributors 👨🏻‍💻\u003c/code\u003e\u003c/h1\u003e\n\nEver wonder who's contributed to a specific file on github? `file-contributors` gives you simple way to get all contributors to a specific file on Github.\n\n\u003ch3\u003e🤖 See over-engineered demo on \u003ca href=\"https://codesandbox.io/s/github-file-contributors-uyl6l\"\u003ecodesandbox\u003c/a\u003e\u003c/h3\u003e\n\n### ⚡️ Installation\nInstall `file-contributors` from npm\n\n```bash\nnpm install file-contributors --save\n```\n### Usage\n`file-contributors` exports function that accepts 3 arguments.\n- `owner` Owner of the github repository. This could be your username or organization name\n  - type: `String`\n- `repo` Name of the repository\n  - type: `String`\n- `path` Location of the file relative to the repository root.\n  - type: `String`\n```js\nimport getFileContributors from 'file-contributors'\n\nconst file = {\n  owner: 'codebender828',\n  repo: 'file-contributors',\n  path: 'README.md'\n}\n\nconst contributors = getFileContributors(file.owner, file.repo, file.path)\n  .then(contributors =\u003e {\n    console.log(contributors) // Logs array of contributors to file.\n  })\n```\n\n## ❤️ Support this project\nIf you like this project, please consider supporting it by buying my a coffee!\n\n\u003ca target=\"_blank\" href=\"https://www.buymeacoffee.com/dIlWof6x5\"\u003e\n  \u003cimg width=\"200px\" src=\"https://res.cloudinary.com/xtellar/image/upload/v1584764609/jbakebwa.dev/sponsorships/buy-me-a-coffee.png\" alt=\"Buy me a coffee\"\u003e\n\u003c/a\u003e\n\n\u003ccenter\u003e\n  \u003cbr\u003e\n  Made with ❤️ by \u003ca target=\"_blank\" href=\"https://twitter.com/codebender828\"\u003eJonathan Bakebwa 🇺🇬\u003c/a\u003e\n\u003c/center\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebender828%2Ffile-contributors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebender828%2Ffile-contributors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebender828%2Ffile-contributors/lists"}