{"id":30236961,"url":"https://github.com/fastify/org-admin","last_synced_at":"2026-03-09T15:02:02.532Z","repository":{"id":309498369,"uuid":"1031293723","full_name":"fastify/org-admin","owner":"fastify","description":"Utilities to handle the organization's permissions","archived":false,"fork":false,"pushed_at":"2026-02-28T10:27:21.000Z","size":36,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-28T15:14:22.756Z","etag":null,"topics":["cli","hacktoberfest","internal-tools"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastify.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"fastify","open_collective":"fastify"}},"created_at":"2025-08-03T12:44:07.000Z","updated_at":"2026-02-04T14:51:52.000Z","dependencies_parsed_at":"2025-09-28T17:04:33.245Z","dependency_job_id":"8ec436eb-88bc-4c81-b451-52006de50bd6","html_url":"https://github.com/fastify/org-admin","commit_stats":null,"previous_names":["fastify/org-admin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fastify/org-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Forg-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Forg-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Forg-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Forg-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastify","download_url":"https://codeload.github.com/fastify/org-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Forg-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30299850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T14:33:48.460Z","status":"ssl_error","status_checked_at":"2026-03-09T14:33:48.027Z","response_time":61,"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":["cli","hacktoberfest","internal-tools"],"created_at":"2025-08-15T01:33:41.642Z","updated_at":"2026-03-09T15:02:02.518Z","avatar_url":"https://github.com/fastify.png","language":"JavaScript","funding_links":["https://github.com/sponsors/fastify","https://opencollective.com/fastify"],"categories":[],"sub_categories":[],"readme":"# org-admin\nUtilities to handle the organization's permissions\n\n## Installation\n\n```bash\nnpm install @fastify-org/org-admin\n```\n\n## Commands\n\n### Onboard a user\n\nThis command adds a user to the specified teams in the GitHub organization.\n\n```bash\nnode --env-file=.env index.js onboard --org \u003corg\u003e --username \u003cuser\u003e --team \u003cteam_1\u003e --team \u003cteam_n\u003e [--dryRun]\n```\n\nFor the fastify organization, the command would look like:\n\n```bash\nnode --env-file=.env index.js onboard --username \u003cuser\u003e --team collaborators --team plugins --team website --team frontend\n```\n\n### Offboard a user\n\nThis command removes a user from the active teams in the GitHub organization and npm teams\nand adds the user to the `emeritus` team if it exists.\n\n```bash\nnode --env-file=.env index.js offboard --org \u003corg\u003e --username \u003cuser\u003e [--dryRun]\n```\n\n### Check emeritus members\n\nThis command checks the last contribution date of org's members.\nIt creates an issue listing the users that have been inactive for more than a specified number of months.\n\n\n```bash\nnode --env-file=.env index.js emeritus --org \u003corg\u003e [--monthsInactiveThreshold] [--dryRun]\n```\n\nFor the fastify organization, the command would look like:\n\n```bash\nnode --env-file=.env index.js emeritus --monthsInactiveThreshold 24\n```\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastify%2Forg-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastify%2Forg-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastify%2Forg-admin/lists"}