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
Expand: Learning
Learning
How Workers works
Security model
How the Cache works
Expand: Integrations
Integrations
APIs
External Services
How KV works
How routing works
Migrate to ES modules format
Using Durable Objects
Continuous Integration
Playground
Expand: Platform
Platform
Storage options guide
Pricing
Betas
Expand: Bindings
Bindings
About Service bindings
Changelog
Compatibility dates
Deploy button
Deployments
Environment variables
Known issues
Languages
Limits
Page Rules
Protocols
Smart Placement (beta)
Expand: Triggers
Triggers
Cron Triggers
Custom Domains
Routes
Expand: Workers Sites
Workers Sites
Start from existing
Start from scratch
Start from worker
Workers Sites configuration
Expand: Runtime APIs
Runtime APIs
addEventListener
Cache
Durable Objects
EmailEvent
Encoding
Fetch
FetchEvent
Headers
HTMLRewriter
KV
mTLS
Expand: Node.js compatibility
Node.js compatibility
assert
AsyncLocalStorage
Buffer
Diagnostics Channel
EventEmitter
path
process
Streams
StringDecoder
util
R2
Request
Response
ScheduledEvent
Service bindings
Expand: Streams
Streams
Use Streams
ReadableStream
ReadableStream BYOBReader
ReadableStream DefaultReader
TransformStream
WritableStream
WritableStream DefaultWriter
TailEvent
TCP sockets
Web Crypto
Web standards
Expand: WebAssembly (Wasm)
WebAssembly (Wasm)
Wasm in JavaScript
Expand: Rust
Rust
Supported crates
Expand: WebSockets
WebSockets
Use WebSockets
WebSockets
Expand: Databases
Databases
Connect to databases
Connect to PostgreSQL
Analytics Engine
External link icon
Open external link
Cloudflare D1
External link icon
Open external link
Native Integrations (beta)
Expand: Observability
Observability
Debug Workers
Log from Workers
Logpush
Metrics and analytics
Tail Workers
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
Run in CI/CD
System Environment Variables
Workers KV
AI Assistant
Give Feedback
GitHub icon
Visit Workers 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)
Products
Workers
Get started
Get started
Guide
Quickstarts