⛅️ 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
History 2026-06-01 16:18:02 +00:00
.changeset [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00:00
.github chore: update bonk to opus 4.8 (#14138) 2026-06-01 12:57:25 +00:00
.opencode chore: update bonk to opus 4.8 (#14138) 2026-06-01 12:57:25 +00:00
.vscode fix(miniflare): Create WebSocketPair after fetching target WebSocket (#13737) 2026-05-01 10:47:10 +01:00
fixtures [vitest-pool-workers] Dispatch RPC methods through proxied Durable Object instances (#14070) 2026-05-28 01:30:00 +01:00
packages Set disallowTypeAnnotations to false in @typescript-eslint/consistent-type-imports config (#14051) 2026-06-01 16:18:02 +00:00
patches [miniflare/wrangler] Bump undici to v7.24.8 and remove pnpm patch (#13450) 2026-04-14 17:13:48 +01:00
tools [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00:00
.codeowners add containers team to containers test codeowners (#13573) 2026-04-17 09:51:34 +01: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 Ignore .opencode/package-lock.json (#13410) 2026-04-10 22:38:10 +01:00
.markdownlint.json test: improve Windows reliability of e2e tests (#6077) 2024-06-26 15:09:52 +01:00
.oxfmtrc.jsonc Convert from ESLint to oxlint, Prettier to oxfmt (#12930) 2026-03-18 16:03:35 +00:00
.oxlintrc.jsonc Set disallowTypeAnnotations to false in @typescript-eslint/consistent-type-imports config (#14051) 2026-06-01 16:18:02 +00:00
AGENTS.md Add REVIEW.md and update AGENTS.md with knowledge base guidelines (#13849) 2026-05-07 16:02:03 +01: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 [codeowners] Enable bot approval and add release file rules (#13186) 2026-04-01 15:16:56 +01:00
CODEOWNERS.md fix(ci): fix rerun workflows for fork PRs (#13512) 2026-04-17 18:53:46 +01:00
codeowners.toml Remove ignored directories in codeowners.toml (#13769) 2026-05-01 15:18:41 +01:00
CONTRIBUTING.md [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00: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 [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00:00
pnpm-lock.yaml [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00:00
pnpm-workspace.yaml [tools] Lint that all non-bundled deps of published packages are pinned (#14112) 2026-06-01 16:00:26 +00:00
README.md add section about beta releases to the main readme (#10926) 2025-10-14 18:19:52 +01:00
REVIEW.md Add REVIEW.md and update AGENTS.md with knowledge base guidelines (#13849) 2026-05-07 16:02:03 +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] fix: auto-delete logs older than 7 days and add WRANGLER_LOG_DISK opt-out (#13750) 2026-05-12 13:17:41 +00:00
vitest.shared.ts ci: disable Vitest GitHub Actions reporter (#13771) 2026-05-01 21:39:55 +01: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.