Example Worker
A runnable Worker that exercises every cf-common module locally, with no Cloudflare account.
KV cache
Cache an upstream API response in Workers KV with a TTL, using createKvStore.
R2 uploads
Accept file uploads into R2, serve them back, and keep a JSON manifest alongside.
D1 queries
A small notes API on D1 with typed queries, writes, batches, and forward-only migrations.
Queue worker
Enqueue background jobs from a fetch handler and process them in the same Worker with createProducer and defineQueue.
R2 presigned URLs
Hand out short-lived URLs that upload to or download from R2 directly, without streaming the bytes through your Worker.