{"id":16922980,"url":"https://github.com/unasuke/cf-worker-test","last_synced_at":"2026-04-18T02:01:41.762Z","repository":{"id":150398347,"uuid":"479728239","full_name":"unasuke/cf-worker-test","owner":"unasuke","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-09T13:04:03.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T00:15:28.047Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unasuke.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","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},"funding":{"github":"unasuke","custom":"https://www.buymeacoffee.com/unasuke"}},"created_at":"2022-04-09T13:03:42.000Z","updated_at":"2022-04-09T13:04:07.000Z","dependencies_parsed_at":"2023-04-05T07:02:10.868Z","dependency_job_id":null,"html_url":"https://github.com/unasuke/cf-worker-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unasuke/cf-worker-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fcf-worker-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fcf-worker-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fcf-worker-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fcf-worker-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unasuke","download_url":"https://codeload.github.com/unasuke/cf-worker-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unasuke%2Fcf-worker-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-13T19:57:28.631Z","updated_at":"2026-04-18T02:01:41.720Z","avatar_url":"https://github.com/unasuke.png","language":"TypeScript","funding_links":["https://github.com/sponsors/unasuke","https://www.buymeacoffee.com/unasuke"],"categories":[],"sub_categories":[],"readme":"# ʕ •́؈•̀) `worker-typescript-template`\n\nA batteries included template for kick starting a TypeScript Cloudflare worker project.\n\n## Note: You must use [wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update) 1.17 or newer to use this template.\n\n## 🔋 Getting Started\n\nThis template is meant to be used with [Wrangler](https://github.com/cloudflare/wrangler). If you are not already familiar with the tool, we recommend that you install the tool and configure it to work with your [Cloudflare account](https://dash.cloudflare.com). Documentation can be found [here](https://developers.cloudflare.com/workers/tooling/wrangler/).\n\nTo generate using Wrangler, run this command:\n\n```bash\nwrangler generate my-ts-project https://github.com/cloudflare/worker-typescript-template\n```\n\n### 👩 💻 Developing\n\n[`src/index.ts`](./src/index.ts) calls the request handler in [`src/handler.ts`](./src/handler.ts), and will return the [request method](https://developer.mozilla.org/en-US/docs/Web/API/Request/method) for the given request.\n\n### 🧪 Testing\n\nThis template comes with jest tests which simply test that the request handler can handle each request method. `npm test` will run your tests.\n\n### ✏️ Formatting\n\nThis template uses [`prettier`](https://prettier.io/) to format the project. To invoke, run `npm run format`.\n\n### 👀 Previewing and Publishing\n\nFor information on how to preview and publish your worker, please see the [Wrangler docs](https://developers.cloudflare.com/workers/tooling/wrangler/commands/#publish).\n\n## 🤢 Issues\n\nIf you run into issues with this specific project, please feel free to file an issue [here](https://github.com/cloudflare/worker-typescript-template/issues). If the problem is with Wrangler, please file an issue [here](https://github.com/cloudflare/wrangler/issues).\n\n## ⚠️ Caveats\n\nThe `service-worker-mock` used by the tests is not a perfect representation of the Cloudflare Workers runtime. It is a general approximation. We recommend that you test end to end with `wrangler dev` in addition to a [staging environment](https://developers.cloudflare.com/workers/tooling/wrangler/configuration/environments/) to test things before deploying.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fcf-worker-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funasuke%2Fcf-worker-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funasuke%2Fcf-worker-test/lists"}