{"id":20850242,"url":"https://github.com/js-org/js.org-cleanup","last_synced_at":"2025-05-12T04:31:10.807Z","repository":{"id":42500378,"uuid":"194550725","full_name":"js-org/js.org-cleanup","owner":"js-org","description":"The scripts behind the annual js.org cleanup process","archived":false,"fork":false,"pushed_at":"2024-04-01T17:22:55.000Z","size":105,"stargazers_count":9,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T00:44:59.640Z","etag":null,"topics":["github","github-api","javascript","js","js-org","node-js","nodejs","octokit"],"latest_commit_sha":null,"homepage":"https://js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/js-org.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}},"created_at":"2019-06-30T18:58:06.000Z","updated_at":"2024-07-23T17:07:14.000Z","dependencies_parsed_at":"2023-02-09T20:31:15.886Z","dependency_job_id":"9d107b75-50c9-4345-a7a3-e98ef3cf25ed","html_url":"https://github.com/js-org/js.org-cleanup","commit_stats":{"total_commits":71,"total_committers":6,"mean_commits":"11.833333333333334","dds":"0.46478873239436624","last_synced_commit":"ce93058f4e262f24eb60ad7ebcb8a80cb11f1ca7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-org%2Fjs.org-cleanup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-org%2Fjs.org-cleanup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-org%2Fjs.org-cleanup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/js-org%2Fjs.org-cleanup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/js-org","download_url":"https://codeload.github.com/js-org/js.org-cleanup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224737431,"owners_count":17361345,"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":["github","github-api","javascript","js","js-org","node-js","nodejs","octokit"],"created_at":"2024-11-18T03:08:38.443Z","updated_at":"2024-11-18T03:08:39.296Z","avatar_url":"https://github.com/js-org.png","language":"JavaScript","funding_links":["https://opencollective.com/js-org"],"categories":["JavaScript"],"sub_categories":[],"readme":"[![js.org](https://img.shields.io/badge/js.org-+-FFE70B.svg?style=flat-square)](http://js.org)\n[![Donate](https://img.shields.io/badge/Donate-for_registrar_fees-1F87FF.svg?style=flat-square\u0026logo=open-collective\u0026logoColor=fff)](https://opencollective.com/js-org)\n\n## Cleanup Scripts\n\nThese are the scripts behind the annual js.org cleanup process.\n\n### CLI\n\nThese scripts operate as a small CLI tool, by running `node index.js`.\n\nThere are four options within the CLI:\n\n- `--perfect`                     : Generates a perfectly formatted and sorted cnames_active file\n- `--main-issue`                  : Initiates the annual cleanup by creating the main cleanup issue\n- `--main-pr \u003cissueNumber\u003e`       : Completes the annual cleanup by parsing issue and creating PR\n- `--validate \u003cfilePath\u003e [--fix]` : Validates a given cnames_active file for perfect formatting\n\nWhen using `--perfect`, `--main-issue`, or `--main-pr`, you will need to have a `config.json` file\ncreated in the root of the repository following `config.example.json`.\n\nIf you are using `--validate`, then no config is needed as this operates against a given local file\npath rather than using the GitHub API. This option can also be passed a `--fix` flag after the file\npath to automatically fix any violations.\n\n### Examples\n\n#### Generated Main Issue\n\nhttps://github.com/js-org-cleanup/simulated-js.org/issues/46\n\n#### Generated Contact Issue\n\nhttps://github.com/js-org-cleanup/simulated-automatic-contact/issues/12\n\n#### Generated Pull Request\n\nhttps://github.com/js-org-cleanup/simulated-js.org/pull/47\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-org%2Fjs.org-cleanup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjs-org%2Fjs.org-cleanup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjs-org%2Fjs.org-cleanup/lists"}