⛅️ Home to Wrangler, the CLI for Cloudflare Workers® https://developers.cloudflare.com/workers/
  • TypeScript 98.2%
  • JavaScript 1.2%
  • Mustache 0.3%
  • HTML 0.1%
Find a file
ANT Bot 81b2b9bad8
Version Packages (#13038)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
History 2026-03-27 14:41:15 +00:00
.changeset Version Packages (#13038) 2026-03-27 14:41:15 +00:00
.github Improve Issue Triage (#12970) 2026-03-26 16:04:03 +00:00
.opencode/agents [opencode] make bonk fix requests implementation-first (#12993) 2026-03-20 18:22:48 +00:00
.vscode Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
fixtures [vitest-pool-workers] Only probe extensions in module fallback for require(), not import (#13074) 2026-03-27 13:22:39 +00:00
packages Version Packages (#13038) 2026-03-27 14:41:15 +00:00
patches [wrangler] fix: patch undici to prevent fetch() throwing on 401 responses with a request body (#13058) 2026-03-26 11:30:54 +00:00
tools Use Vite 8 and Vitest 4 everywhere (#12947) 2026-03-20 14:39:39 +00:00
.codeowners Migrate to Codeowners Plus for AND-based ownership enforcement (#12729) 2026-03-02 16:23:16 +00:00
.editorconfig Use spaces for yaml (#5500) 2024-04-04 12:16:31 +01:00
.git-blame-ignore-revs Update .git-blame-ignore-revs (#5839) 2024-05-15 15:35:45 +01:00
.gitattributes Emit type declarations for wrangler (#1415) 2022-07-07 08:37:54 -05:00
.gitguardian.yml wrangler: Improve hyperdrive create and update to include all current caching settings (#5064) 2024-03-14 07:46:00 +00:00
.gitignore Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
.markdownlint.json test: improve Windows reliability of e2e tests (#6077) 2024-06-26 15:09:52 +01:00
.npmrc chore: configure pnpm to use the version specified in package.json engines field (#7968) 2025-02-03 14:04:44 +00:00
.oxfmtrc.jsonc Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
.oxlintrc.jsonc Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
AGENTS.md Update AGENTS.md to mention oxfmt since we no longer use prettier (#13053) 2026-03-25 12:47:32 +00:00
CLAUDE.md [docs] Add AGENTS.md for AI coding agents (#11716) 2025-12-19 15:35:16 +00:00
cloudflare-workers-outline.png docs: update main readme (#4658) 2024-01-05 12:08:33 -06:00
CODE_OF_CONDUCT.md CODE_OF_CONDUCT, LICENSE-MIT/-APACHE, SECURITY 2021-11-16 00:36:54 +00:00
CODEOWNERS Update release to only require wrangler team approval (#12536) 2026-02-11 13:59:54 -05:00
CODEOWNERS.md Migrate to Codeowners Plus for AND-based ownership enforcement (#12729) 2026-03-02 16:23:16 +00:00
codeowners.toml Add option to disable smart dismissal of reviews (#12745) 2026-03-04 11:34:29 +00:00
CONTRIBUTING.md Update prettier to 3.8.1 (#12939) 2026-03-17 11:41:29 -04:00
LICENSE-APACHE CODE_OF_CONDUCT, LICENSE-MIT/-APACHE, SECURITY 2021-11-16 00:36:54 +00:00
LICENSE-MIT CODE_OF_CONDUCT, LICENSE-MIT/-APACHE, SECURITY 2021-11-16 00:36:54 +00:00
lint-turbo.mjs [workers-playground] Migrate from Cloudflare Pages to Cloudflare Workers (#12655) 2026-03-11 13:11:10 +00:00
package.json [wrangler] fix: patch undici to prevent fetch() throwing on 401 responses with a request body (#13058) 2026-03-26 11:30:54 +00:00
pnpm-lock.yaml [vitest-pool-workers] Only probe extensions in module fallback for require(), not import (#13074) 2026-03-27 13:22:39 +00:00
pnpm-workspace.yaml Use Vite 8 and Vitest 4 everywhere (#12947) 2026-03-20 14:39:39 +00:00
README.md add section about beta releases to the main readme (#10926) 2025-10-14 18:19:52 +01:00
SECURITY.md CODE_OF_CONDUCT, LICENSE-MIT/-APACHE, SECURITY 2021-11-16 00:36:54 +00:00
STYLEGUIDE.md Update STYLEGUIDE.md (#6023) 2024-06-12 19:35:52 +01:00
turbo.json [wrangler] Shard E2E tests across 4 parallel CI jobs (#12941) 2026-03-20 10:01:03 +00:00
vitest.shared.ts Support Vitest 4 in @cloudflare/vitest-pool-workers (#11632) 2026-03-10 17:26:47 -04:00
vitest.workspace.ts chore: change vitest config to be ESM (for sure) to avoid warnings (#6055) 2024-06-18 12:32:03 +01:00

Cloudflare Workers SDK

workers-logo
Cloudflare Workers let you deploy serverless code instantly across the globe for exceptional performance, reliability, and scale.

Contribute · Submit an Issue · Join Discord

Wrangler on npm   Discord conversation   X conversation


Quick Start

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

For more info, visit our Getting Started guide.

Documentation

Visit the official Workers documentation here.

Directory

Package Description Links
wrangler A command line tool for building Cloudflare Workers. Docs
create-cloudflare (C3) A CLI for creating and deploying new applications to Cloudflare. Docs
miniflare A simulator for developing and testing Cloudflare Workers, powered by workerd Docs
chrome-devtools-patches Cloudflare's fork of Chrome DevTools for inspecting your local or remote Workers
pages-shared Used internally to power Wrangler and Cloudflare Pages. It contains all the code that is shared between these clients.

Beta releases

Beta releases are generated by the pkg.pr.new tool and are updated on every commit pushed to the main branch.

Warning

These beta releases get updated over time, so they are ill suited to be used as stable versions for a project (and the proper npm released should be used instead). These should be used only for quick testing of not yet released features/fixes.

Available beta releases are listed below.

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@main

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@main

miniflare

npm i https://pkg.pr.new/miniflare@main

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@main

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@main

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@main

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@main

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@main

wrangler

npm i https://pkg.pr.new/wrangler@main

Contributing

We welcome new contributors! Refer to the CONTRIBUTING.md guide for details.

Community

Join us in the official Cloudflare Discord to meet other developers, ask questions, or learn more in general.