{"id":15426359,"url":"https://github.com/richardlitt/get-github-user","last_synced_at":"2026-01-20T12:33:50.454Z","repository":{"id":38151024,"uuid":"49733904","full_name":"RichardLitt/get-github-user","owner":"RichardLitt","description":"Get GitHub user information from just a username","archived":false,"fork":false,"pushed_at":"2023-05-04T18:59:15.000Z","size":202,"stargazers_count":1,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-13T15:47:11.787Z","etag":null,"topics":["api","gh","github","github-api","user"],"latest_commit_sha":null,"homepage":"","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/RichardLitt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-15T17:25:13.000Z","updated_at":"2023-03-04T04:55:54.000Z","dependencies_parsed_at":"2024-06-11T20:38:45.170Z","dependency_job_id":"f2c08439-e524-42a8-948d-31d3a08f2424","html_url":"https://github.com/RichardLitt/get-github-user","commit_stats":{"total_commits":42,"total_committers":5,"mean_commits":8.4,"dds":0.5952380952380952,"last_synced_commit":"a23c9ae05e871fac7891ba0c05dfa4e30d15635e"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fget-github-user","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fget-github-user/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fget-github-user/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardLitt%2Fget-github-user/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RichardLitt","download_url":"https://codeload.github.com/RichardLitt/get-github-user/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563931,"owners_count":20958971,"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","gh","github","github-api","user"],"created_at":"2024-10-01T17:55:39.113Z","updated_at":"2026-01-20T12:33:50.440Z","avatar_url":"https://github.com/RichardLitt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-github-user [![Build Status](https://travis-ci.org/RichardLitt/get-github-user.svg?branch=master)](https://travis-ci.org/RichardLitt/get-github-user)\n\n\u003e Get GitHub user information from just a username\n\n\n## Install\n\n```\n$ npm install --save get-github-user\n```\n\nYou also need to get a GitHub application token: https://github.com/settings/tokens. Provide it in the CLI or set it as `$GITHUB_TOKEN` somewhere in your bash_profile.\n\n## Usage\n\n```js\nconst getGithubUser = require('get-github-user');\n\ngetGithubUser('RichardLitt');\n//=\u003e [{login: 'RichardLitt', ...}]\n```\n\n## API\n\n### getGithubUser(input)\n\n#### input\n\nType: `string` or `array`\n\nThe user or array of users you want user objects for.\n\n#### token\n\nType: token\n\nSend in your GitHub token.\n\n#### endpoint\n\nType: `string`\n\nSend in your GitHub Enterprise endpoint or rootURL.\n\n## CLI\n\n```\n$ npm install --global get-github-user\n```\n\n```\n$ get-github-user --help\n\n  Usage\n    $ get-github-user [input]\n\n  Options\n    -t, --token A token\n    -e, --endpoint Change the GitHub endpoint\n\n  Examples\n    $ get-github-user RichardLitt\n    [{ login: 'RichardLitt',  ... }]\n    $ get-github-user RichardLitt jbenet\n    [{...}, {...}]\n```\n\n## Contribute\n\nPlease do! Open an issue or a pull request if you see anything. \n\n## License\n\nMIT © [Richard Littauer](http://burntfen.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardlitt%2Fget-github-user","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardlitt%2Fget-github-user","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardlitt%2Fget-github-user/lists"}