Cloudflare Workers

Security & Safety 💻 TypeScript ⚖️ Apache-2.0 🟢 Actively maintained
4.5k stars

Cloudflare Workers SDK is a collection of tools for building and deploying serverless code on Cloudflare's global network. It includes Wrangler CLI for managing Workers, create-cloudflare for scaffolding projects, and Miniflare for local simulation. It is for developers who want to deploy code at the edge with high performance and reliability.

✨ Key features

  • Wrangler CLI for building and managing Workers
  • create-cloudflare CLI for quick project scaffolding
  • Miniflare local simulator powered by workerd
  • Beta releases for testing unreleased features
  • Chrome DevTools patches for debugging Workers
  • Official documentation and community support

🎯 Use cases

  • Deploy serverless functions globally with low latency
  • Create new Cloudflare Workers projects quickly
  • Develop and test Workers locally before deployment
  • Manage and configure Workers using Wrangler CLI
  • Inspect local or remote Workers with Chrome DevTools

📦 Installation

🧰 Requirements: Requires Node.js and npm/pnpm/yarn; a Cloudflare account for deployment.

To get started quickly with a new project, run the command below:

npm create cloudflare@latest
or
pnpm create cloudflare@latest
or
yarn create cloudflare@latest

🚀 Usage

npm create cloudflare@latest

This command scaffolds a new Cloudflare Workers project. Follow the interactive prompts to configure your project.

⚠️ Good to know

Beta releases are updated frequently and not stable for production use.

❓ FAQ

How do I create a new Cloudflare Workers project?

Run npm create cloudflare@latest (or with pnpm/yarn) and follow the prompts.

What is Wrangler?

Wrangler is a command line tool for building and managing Cloudflare Workers.

Can I test Workers locally?

Yes, use Miniflare, a simulator for developing and testing Workers locally.

Where can I find the official documentation?

Visit the official Workers documentation at https://developers.cloudflare.com/workers/.

📊 Repository

Stars★ 4,511
Forks🍴 1,476
Open issues🐛 499
Last commit🕒 Sep 4, 2026
Created📅 Nov 2021
Language💻 TypeScript
License⚖️ Apache-2.0

🤖 Overview, features, install steps and FAQ were generated from the project's README on Sep 4, 2026. Always check the original source before running commands.