RepoCloudflare (Workers AI)Cloudflare (Workers AI)published Mar 28, 2025seen 5d

cloudflare/docs-examples

TypeScript

Open original ↗

Captured source

source ↗
published Mar 28, 2025seen 5dcaptured 12hhttp 200method plain

cloudflare/docs-examples

Description: Examples surfaced in the Cloudflare Docs

Language: TypeScript

Stars: 16

Forks: 11

Open issues: 7

Created: 2025-03-28T15:50:43Z

Pushed: 2026-04-23T20:51:47Z

Default branch: main

Fork: no

Archived: no

README:

docs-examples

This repo holds examples that are used in the Cloudflare docs (and it's accompanying GitHub repo).

When to use

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.

How to use

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:

  • .gitignore
  • package.json
  • wrangler.jsonc
  • Everything under src
  • worker-configuration.d.ts
  • tsconfig.json
  • static/README

Also, you should make your Worker using TypeScript. We can always detype to use JavaScript.

Notability

notability 3.0/10

Routine docs repo, low stars