Skip to content
Cloudflare Docs logomark
Cloudflare
Docs
Workers
Navigation menu icon
Open external link
Cloudflare Docs logomark
Cloudflare
Docs
Workers
Dropdown icon
Workers menu
Workers home
Playground
Pricing
Discord
Overview
Expand: Get started
Get started
Guide
Quickstarts
Examples
Tutorials
Playground
Expand: Configuration
Configuration
Expand: Bindings
Bindings
Service bindings
Compatibility dates
Continuous integration
Cron Triggers
Environment variables
Expand: Integrations
Integrations
APIs
External Services
Momento
Page Rules
Expand: Routes and domains
Routes and domains
Custom Domains
Routes
workers.dev
Secrets
Smart Placement (beta)
Expand: Versions & Deployments
Versions & Deployments
Gradual deployments
Rollbacks
Expand: Workers Sites
Workers Sites
Start from existing
Start from scratch
Start from Worker
Workers Sites configuration
Expand: Runtime APIs
Runtime APIs
Expand: Bindings
Bindings
D1
External link icon
Open external link
Durable Objects
External link icon
Open external link
KV
External link icon
Open external link
mTLS
Queues
External link icon
Open external link
R2
External link icon
Open external link
Service bindings
Vectorize
External link icon
Open external link
Version metadata
Cache
Console
Encoding
Fetch
Expand: Handlers
Handlers
Alarm Handler
External link icon
Open external link
Email Handler
External link icon
Open external link
Fetch Handler
Queue Handler
External link icon
Open external link
Scheduled Handler
Tail Handler
Headers
HTMLRewriter
Expand: Node.js compatibility
Node.js compatibility
assert
AsyncLocalStorage
Buffer
Crypto
Diagnostics Channel
EventEmitter
path
process
Streams
StringDecoder
util
Performance and timers
Request
Response
Expand: Streams
Streams
ReadableStream
ReadableStream BYOBReader
ReadableStream DefaultReader
TransformStream
WritableStream
WritableStream DefaultWriter
TCP sockets
Web Crypto
Web standards
Expand: WebAssembly (Wasm)
WebAssembly (Wasm)
Wasm in JavaScript
WebSockets
Expand: Databases
Databases
Connect to databases
Analytics Engine
External link icon
Open external link
Vectorize (vector database)
External link icon
Open external link
Cloudflare D1
External link icon
Open external link
Hyperdrive
External link icon
Open external link
Expand: Database Integrations (beta)
Database Integrations (beta)
Neon
PlanetScale
Supabase
Turso
Upstash
Xata
Expand: Testing
Testing
Local development
Unit testing
Integration testing
Debugging tools
Expand: Vitest integration
Vitest integration
Expand: Get started
Get started
Write your first test
Migrate from Miniflare 2's test environments
Migrate from unstable_dev
Recipes
Configuration
Test APIs
Isolation and concurrency
Known issues
Expand: Observability
Observability
Errors and exceptions
Expand: Logging
Logging
Logpush
Real-time logs
Tail Workers
Metrics and analytics
Sentry integration (beta)
Expand: Wrangler
Wrangler
Install/Update Wrangler
API
Bundling
Commands
Configuration
Custom builds
Deprecations
Environments
Expand: Migrations
Migrations
Expand: Migrate from Wrangler v1 to v2
Migrate from Wrangler v1 to v2
1. Migrate webpack projects
2. Update to Wrangler v2
Expand: Wrangler v1 (legacy)
Wrangler v1 (legacy)
Install / Update
Authentication
Commands
Configuration
Webpack
Migrate from Wrangler v2 to v3
Run in CI/CD
System environment variables
Expand: Languages
Languages
JavaScript
TypeScript
Expand: Python
Python
How Python Workers Work
Standard Library
Foreign Function Interface (FFI)
Expand: Packages
Packages
FastAPI
Langchain
Expand: Rust
Rust
Supported crates
Expand: Platform
Platform
Pricing
Limits
Choose a data or storage product
Expand: Changelog
Changelog
Wrangler
Betas
Known issues
Expand: Reference
Reference
How the Cache works
How Workers works
Migrate from Service Workers to ES Modules
Protocols
Security model
Glossary
AI Assistant
Give Feedback
GitHub icon
Edit this page on GitHub
Search icon (depiction of a magnifying glass)
Light theme icon (depiction of a sun)
Dark theme icon (depiction of a moon)
Set theme to dark (⇧+D)
↑ Top
Products
Workers
Wrangler
Migrations
Migrations
Migrate from Wrangler v1 to v2
Migrate from Wrangler v2 to v3