Cloudflare Workers documentation
Cloudflare Workers provides a serverless execution environment that allows you to create entirely new applications or augment existing ones without configuring or maintaining infrastructure.
Get started View the tutorialsInstalling the Workers CLI
To install wrangler, the Workers CLI, ensure you have npm installed, then run:
$ npm install -g @cloudflare/wranglerPlayground
View this “Hello World” example in the Workers playground:
addEventListener("fetch", event => { event.respondWith(handleRequest(event.request))})
async function handleRequest(request) { return new Response("Hello world")}Launch playground Learn morePopular pages
- Learning: How Workers works – learn how Cloudflare’s global network powers Workers
- Pricing – learn about the Free and Bundled plans
- Reference: HTMLRewriter – parse and transform HTML from inside a Worker
- Limits – learn about plan limits (e.g. free plans get 100,000 req/day)
These docs are built with the Cloudflare Docs engine.
