{"id":22929139,"url":"https://github.com/wbnns/proof-of-developer","last_synced_at":"2025-04-01T16:20:23.237Z","repository":{"id":265722457,"uuid":"637751566","full_name":"wbnns/proof-of-developer","owner":"wbnns","description":"A simple Node.js package to check if a given GitHub username has any commit history. If there are commits, it returns the number of commits.","archived":false,"fork":false,"pushed_at":"2024-01-10T16:40:05.000Z","size":16,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T02:13:27.302Z","etag":null,"topics":["business-intelligence","github","github-api","javascript","node","node-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/proof-of-developer","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/wbnns.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-08T10:34:29.000Z","updated_at":"2025-02-23T08:15:41.000Z","dependencies_parsed_at":"2024-11-30T17:57:53.572Z","dependency_job_id":"7907d075-8696-4e8b-8a61-597c98b5f5d2","html_url":"https://github.com/wbnns/proof-of-developer","commit_stats":null,"previous_names":["wbnns/proof-of-developer"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fproof-of-developer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fproof-of-developer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fproof-of-developer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wbnns%2Fproof-of-developer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wbnns","download_url":"https://codeload.github.com/wbnns/proof-of-developer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246668908,"owners_count":20814744,"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":["business-intelligence","github","github-api","javascript","node","node-package"],"created_at":"2024-12-14T09:30:29.337Z","updated_at":"2025-04-01T16:20:23.219Z","avatar_url":"https://github.com/wbnns.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Proof of Developer\n\nA simple Node.js package to check if a given GitHub username has any commit history. If there are commits, it returns the number of commits.\n\n## Installation\n\nClone the repository and install dependencies:\n\n```bash\ngit clone https://github.com/your-username/proof-of-developer.git\ncd proof-of-developer\nnpm install\n```\n\n## Configuration\n\nCreate a `.env` file in the project root directory with your GitHub token:\n```\nGITHUB_TOKEN=your_github_token\nReplace your_github_token with your actual token.\n```\n\n## Usage\n\nImport and use the `hasCommits` function:\n```\nconst proofOfDeveloper = require('./proof-of-developer');\n\n(async () =\u003e {\n  const result = await proofOfDeveloper.hasCommits('github_username');\n  console.log(result);\n})();\n```\n\nReplace `github_username` with the GitHub username you want to check.\n\nThe function returns an object with the following properties:\n\n+ `hasCommits`: A boolean indicating if the user has any commits.\n+ `commitCount`: The number of commits if `hasCommits` is `true`, otherwise `0`.\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbnns%2Fproof-of-developer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwbnns%2Fproof-of-developer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwbnns%2Fproof-of-developer/lists"}