Deploy instantly
- Schedule jobs and build powerful flows
- Built-in monitoring
- Scale with ease
- Open source ecosystem
- Automate your deployments
- Easily bind your domains to workers
hello.ts
addEventListener("fetch", (event: FetchEvent) => {
event.respondWith(handleRequest(event.request))
});
async function handleRequest(request: Request) {
return new Response("Hello world", {
headers: { "Content-Type": "text/html" }
});
}