{"id":17497056,"url":"https://github.com/andras-adam/comet","last_synced_at":"2025-04-16T05:57:34.291Z","repository":{"id":40546197,"uuid":"468859190","full_name":"andras-adam/comet","owner":"andras-adam","description":"☄️ A powerful DX-first routing library for Cloudflare Workers.","archived":false,"fork":false,"pushed_at":"2024-11-19T13:40:04.000Z","size":843,"stargazers_count":10,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T20:47:34.986Z","etag":null,"topics":["cloudflare","cloudflare-workers","comet","dx","router","routing","workers"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/@neoaren/comet","language":"TypeScript","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/andras-adam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"buy_me_a_coffee":"andrasadam"}},"created_at":"2022-03-11T18:27:15.000Z","updated_at":"2024-11-19T13:39:38.000Z","dependencies_parsed_at":"2023-09-29T13:44:18.518Z","dependency_job_id":"ebf016d6-aa58-428a-a7dd-bc3e8d647e97","html_url":"https://github.com/andras-adam/comet","commit_stats":{"total_commits":266,"total_committers":6,"mean_commits":"44.333333333333336","dds":"0.23684210526315785","last_synced_commit":"171b8d224ebccd725aad717137e710b4bf659cf1"},"previous_names":["andras-adam/comet","neoaren/comet"],"tags_count":50,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andras-adam%2Fcomet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andras-adam%2Fcomet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andras-adam%2Fcomet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andras-adam%2Fcomet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andras-adam","download_url":"https://codeload.github.com/andras-adam/comet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249205772,"owners_count":21229991,"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":["cloudflare","cloudflare-workers","comet","dx","router","routing","workers"],"created_at":"2024-10-19T15:10:12.025Z","updated_at":"2025-04-16T05:57:34.266Z","avatar_url":"https://github.com/andras-adam.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/andrasadam"],"categories":[],"sub_categories":[],"readme":"![logo](.github/assets/comet_logo.png)\n\n\u003cp align=\"center\"\u003e\n  ☄️ A powerful DX-first routing library for \u003ca href=\"https://workers.cloudflare.com/\"\u003eCloudflare Workers\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://npmjs.org/package/@neoaren/comet\"\u003e\u003cimg src=\"https://badgen.net/npm/v/@neoaren/comet\" alt=\"NPM Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagephobia.com/result?p=@neoaren/comet\"\u003e\u003cimg src=\"https://badgen.net/packagephobia/install/@neoaren/comet\" alt=\"NPM Install Size\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmcharts.com/compare/@neoaren/comet?minimal=true\"\u003e\u003cimg src=\"https://badgen.net/npm/dm/@neoaren/comet\" alt=\"NPM Downloads\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n-----\n\n## Getting started\n\n```ts\nimport { GET, server } from '@neoaren/comet'\n\nconst comet = server()\n\ncomet.route({ pathname: '/api/test/:id', method: GET }, async ({ event }) =\u003e {\n  // Business logic\n  return event.reply.ok({ id: event.params.id })\n})\n\nexport default \u003cExportedHandler\u003e{\n  fetch: comet.handler\n}\n```\n\n## Documentation\nA proper documentation for Comet is work in progress.\n\n## Contribution guide\nUse commit names with the following prefixes to indicate their purpose\n\n| Emoji                    | Prefix                     | Description                                                |\n|--------------------------|----------------------------|------------------------------------------------------------|\n| :zap: :zap:              | `:zap: :zap:`              | for implementing breaking functionality (semver major)     |\n| :zap:                    | `:zap:`                    | for implementing non-breaking functionality (semver minor) |\n| :hammer:                 | `:hammer:`                 | for bug fixes and non-breaking improvements (semver patch) |\n| :wrench:                 | `:wrench:`                 | for configurations                                         |\n| :vertical_traffic_light: | `:vertical_traffic_light:` | for tests                                                  |\n| :memo:                   | `:memo:`                   | for documentations                                         |\n| :mag:                    | `:mag:`                    | for lint fixes                                             |\n| :recycle:                | `:recycle:`                | for non-breaking refactoring                               |\n| :paperclip:              | `:paperclip:`              | for dependencies                                           |\n| :octocat:                | `:octocat:`                | for workflows                                              |\n| :construction:           | `:construction:`           | for experimental or temporary changes                      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandras-adam%2Fcomet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandras-adam%2Fcomet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandras-adam%2Fcomet/lists"}