Example · Worker

A TypeScript Worker with a small, real loop.

The example exposes /health, compiles with TypeScript, and tests the compiled Worker. It does not need a Cloudflare account.

Run it

Shell
cd examples/worker-app
npm install
npm run check

What to inspect

Other examplesTypeScript CLI ↗Hybrid video player ↗