This repo holds examples that are used in the Cloudflare docs (and it’s accompanying GitHub repo).
Use this repository when you want to use our GitHubCode component within the Cloudflare docs.
We choose to scope this component solely to repos within the cloudflare org for security reasons.
For any examples related to a specific product, create a new, top-level folder for that product.
Make sure you have the following files in your Worker:
.gitignorepackage.jsonwrangler.jsoncsrcworker-configuration.d.tstsconfig.jsonstatic/READMEAlso, you should make your Worker using TypeScript. We can always detype to use JavaScript.