# cloudflare/workers-sdk

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cloudflare-workers-sdk).**

3,812 stars · 1,130 forks · TypeScript · apache-2.0

## Links

- GitHub: https://github.com/cloudflare/workers-sdk
- Homepage: https://developers.cloudflare.com/workers/
- awesome-repositories: https://awesome-repositories.com/repository/cloudflare-workers-sdk.md

## Topics

`cli` `cloudflare` `cloudflare-workers` `javascript` `serverless` `wasm`

## Description

This project is an edge computing development toolkit and serverless command line interface used to develop, test, and deploy serverless functions to a global edge network. It serves as an edge runtime bundler and resource orchestrator, managing the entire lifecycle of edge projects from local development to worldwide distribution.

The toolkit distinguishes itself through distributed workflow management, coordinating stateful instances and the durable execution of long-running processes across the edge. It also provides specialized integrations for edge AI, including the management of vector indexes and machine learning models, as well as programmatic control of headless Chromium browser instances.

The capability surface covers serverless infrastructure orchestration, allowing for the automated provisioning and binding of SQL databases, key-value stores, object storage, and message queues. It includes a local development environment with runtime simulation and live reloading, alongside build-time module bundling and configuration-based deployment workflows.

The project is implemented in TypeScript.

## Tags

### DevOps & Infrastructure

- [Cloud Deployment CLI Tools](https://awesome-repositories.com/f/devops-infrastructure/cloud-deployment-cli-tools.md) — Ships a command-line interface to manage the full lifecycle of edge functions from bundling to global deployment.
- [Distributed Edge Compute Platforms](https://awesome-repositories.com/f/devops-infrastructure/cloud-infrastructure/cloud-computing-serverless/edge-computing-platforms/distributed-edge-compute-platforms.md) — Provides a comprehensive toolkit for developing and deploying code to a distributed edge compute platform.
- [Edge Network Deployment](https://awesome-repositories.com/f/devops-infrastructure/edge-network-deployment.md) — Publishes scripts to a global network of edge-optimized cloud platforms to execute logic close to users. ([source](https://cdn.jsdelivr.net/gh/cloudflare/workers-sdk@main/README.md))
- [Durable Task Orchestrators](https://awesome-repositories.com/f/devops-infrastructure/automation-orchestration/task-execution-frameworks/workflow-engines/durable-task-orchestrators.md) — Coordinates multi-step application logic with state persistence to ensure reliable completion of long-running processes.
- [Source Code Bundlers](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/core-build-engines/bundling-extension-architectures/build-tooling-architectures/source-code-bundlers.md) — Compiles and bundles multiple source files into optimized scripts compatible with distributed serverless runtimes.
- [Edge Request Processing](https://awesome-repositories.com/f/devops-infrastructure/edge-request-processing.md) — Distributes compiled logic across a global network to process requests at the location closest to the user.
- [Serverless Provisioning](https://awesome-repositories.com/f/devops-infrastructure/serverless-deployment/serverless-provisioning.md) — Automates the provisioning of underlying serverless infrastructure like databases and storage via configuration files.
- [Serverless Development Environments](https://awesome-repositories.com/f/devops-infrastructure/serverless-development-environments.md) — Provides a complete environment for local development, testing, and debugging of serverless functions.
- [Serverless Function Management](https://awesome-repositories.com/f/devops-infrastructure/serverless-function-management.md) — Provides programmatic control over the lifecycle, deployment, and execution of serverless functions. ([source](https://developers.cloudflare.com/workers/cli-wrangler/commands))
- [Serverless Lifecycle Management](https://awesome-repositories.com/f/devops-infrastructure/serverless-lifecycle-management.md) — Offers a command line interface to manage the entire lifecycle of serverless projects from local simulation to deployment.
- [Resource Bindings](https://awesome-repositories.com/f/devops-infrastructure/serverless-orchestration/resource-bindings.md) — Provides a system for provisioning and binding key-value stores, SQL databases, and object storage to edge functions.
- [Serverless Resource Orchestration](https://awesome-repositories.com/f/devops-infrastructure/serverless-resource-orchestration.md) — Controls the lifecycle of serverless components including storage buckets, databases, and message queues. ([source](https://developers.cloudflare.com/workers/cli-wrangler/commands))
- [Background Job Processing](https://awesome-repositories.com/f/devops-infrastructure/background-job-processing.md) — Supports recurring cron jobs and durable workflows for automated background processing and periodic tasks.
- [Environment Variable Configurations](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/environment-management/environment-variable-management/environment-variable-configurations.md) — Injects runtime settings and configuration parameters into workers via key-value environment variables. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Deployment Environment Management](https://awesome-repositories.com/f/devops-infrastructure/deployment-environment-management.md) — Enables the creation of named configurations and variables to isolate staging and production environments. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Global Code Distribution Pipelines](https://awesome-repositories.com/f/devops-infrastructure/global-code-distribution-pipelines.md) — Manages the pipeline for pushing compiled scripts from a local CLI to a worldwide network of edge nodes.
- [Resource Manifest Provisioning](https://awesome-repositories.com/f/devops-infrastructure/manifest-based-deployments/resource-manifest-provisioning.md) — Automatically creates and links cloud storage and databases based on a declarative configuration file.
- [Message Queues](https://awesome-repositories.com/f/devops-infrastructure/queue-management/message-queues.md) — Provides global message queues to decouple system components through asynchronous batch processing. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Storage Provisioning](https://awesome-repositories.com/f/devops-infrastructure/storage-provisioning.md) — Automatically allocates and provisions persistent storage resources during the deployment process. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Automated Resource Provisioning](https://awesome-repositories.com/f/devops-infrastructure/storage-provisioning/on-demand-resource-provisioning/automated-resource-provisioning.md) — Automatically provisions missing cloud resources and storage buckets based on the project manifest.

### Software Engineering & Architecture

- [Durable Workflow Execution Engines](https://awesome-repositories.com/f/software-engineering-architecture/durable-workflow-execution-engines.md) — Coordinates stateful instances and durable execution of long-running processes across a global edge network.
- [Durable Workflow Engines](https://awesome-repositories.com/f/software-engineering-architecture/durable-workflow-engines.md) — Creates multi-step application logic with state persistence to ensure reliable execution of long-running processes. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Distributed State Coordination](https://awesome-repositories.com/f/software-engineering-architecture/job-processors/database-backed-persistence/distributed-state-coordination.md) — Connects serverless functions to consistent storage to maintain state across distributed requests.
- [Local Cloud Simulation](https://awesome-repositories.com/f/software-engineering-architecture/microservices-development/local-cluster-dependency-debugging/local-cloud-simulation.md) — Emulates a cloud-based execution environment locally to test and debug worker scripts.
- [Service Bindings](https://awesome-repositories.com/f/software-engineering-architecture/application-lifecycle-management/configuration-management/configuration-sourcing-and-binding/externalized-configuration-bindings/service-bindings.md) — Maps external services and secrets to the runtime via a manifest for automatic code availability.
- [Secret Injection Layers](https://awesome-repositories.com/f/software-engineering-architecture/provider-abstractions/secret-injection-layers.md) — Injects encrypted configuration values and variables into the runtime to decouple secrets from source code.

### Artificial Intelligence & ML

- [Edge AI Model Deployment](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/local-and-on-device-inference/edge-ai-model-deployment.md) — Deploys and runs machine learning models and manages vector indexes at the network edge.
- [Machine Learning Model APIs](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/inference-servers-and-runtimes/machine-learning-model-apis.md) — Runs pre-trained AI models over the network to process data and generate predictions. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))

### Data & Databases

- [Key-Value Stores](https://awesome-repositories.com/f/data-databases/key-value-stores.md) — Connects functions to a global key-value store for high-performance retrieval of simple data pairs. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Object Storage Services](https://awesome-repositories.com/f/data-databases/object-storage-services.md) — Links workers to unstructured data buckets for scalable storage and retrieval of large files. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Stateful Durable Objects](https://awesome-repositories.com/f/data-databases/object-storage/stateful-durable-objects.md) — Coordinates stateful worker instances using a consistent storage mechanism for low-latency data access. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Postgres Adapters](https://awesome-repositories.com/f/data-databases/postgres-adapters.md) — Provides connection adapters and accelerators for querying PostgreSQL databases from the edge. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Search and Indexing](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing.md) — Integrates managed search services and vector search instances for advanced discovery within edge functions. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [SQL Database Connectivity](https://awesome-repositories.com/f/data-databases/sql-database-connectivity.md) — Integrates serverless functions with SQL-speaking datastores for relational data management. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Vector Indexing](https://awesome-repositories.com/f/data-databases/vector-indexing.md) — Provides bindings to vector indexes for inserting and querying embeddings to enable semantic search. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))

### Development Tools & Productivity

- [Deployment Command Line Interfaces](https://awesome-repositories.com/f/development-tools-productivity/deployment-command-line-interfaces.md) — Provides a command-line interface for managing the entire lifecycle and deployment of edge worker projects. ([source](https://developers.cloudflare.com/workers/wrangler/))
- [Development Preview Servers](https://awesome-repositories.com/f/development-tools-productivity/development-preview-servers.md) — Ships a local development server with live reloading for real-time iteration on code changes. ([source](https://cdn.jsdelivr.net/gh/cloudflare/workers-sdk@main/README.md))
- [Local Development Environments](https://awesome-repositories.com/f/development-tools-productivity/local-development-environments.md) — Provides a local environment that simulates the cloud runtime for prototyping and debugging functions. ([source](https://developers.cloudflare.com/workers/cli-wrangler/commands))
- [Local Emulation Environments](https://awesome-repositories.com/f/development-tools-productivity/local-emulation-environments.md) — Simulates the cloud execution environment on a local machine for testing and debugging.
- [Project Bundling](https://awesome-repositories.com/f/development-tools-productivity/project-bundling.md) — Compiles and bundles the entire project and its dependencies into a single deployable script for the edge. ([source](https://developers.cloudflare.com/workers/wrangler/))
- [Module Bundling](https://awesome-repositories.com/f/development-tools-productivity/source-bundling/module-bundling.md) — Bundles multiple source files and dependencies into a single deployable script for the edge.
- [Background Task Schedulers](https://awesome-repositories.com/f/development-tools-productivity/background-task-schedulers.md) — Provides cron-based scheduling for recurring background worker functions.
- [Build Configurations](https://awesome-repositories.com/f/development-tools-productivity/cli-build-tools/build-configurations.md) — Provides custom settings and shell scripts for build-time asset management and module resolution. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [Headless Browser Automation](https://awesome-repositories.com/f/development-tools-productivity/headless-browser-automation.md) — Provides programmatic control of headless Chromium browser instances via authenticated endpoints for web automation.
- [Project Settings](https://awesome-repositories.com/f/development-tools-productivity/project-scaffolding-config-code-generation/project-scaffolding-configuration/build-configuration/typescript-configurations/project-settings.md) — Uses typed configuration files to define application settings and build parameters across environments. ([source](https://developers.cloudflare.com/workers/wrangler/))
- [Project Initializers](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/cli-tooling-frameworks/cli-tooling/project-lifecycle-orchestrators/project-initializers.md) — Bootstraps new project directories with essential configuration files and dependency structures. ([source](https://cdn.jsdelivr.net/gh/cloudflare/workers-sdk@main/README.md))

### Security & Cryptography

- [Secret Management](https://awesome-repositories.com/f/security-cryptography/secret-management.md) — Securely manages and injects encrypted secret bindings into the worker runtime for sensitive configuration. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))

### Programming Languages & Runtimes

- [Module Aliasing](https://awesome-repositories.com/f/programming-languages-runtimes/module-importing/configuration-module-imports/module-aliasing.md) — Allows assigning custom names to imported modules to redirect dependencies and improve organization. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))

### Web Development

- [Headless Browser Controllers](https://awesome-repositories.com/f/web-development/headless-browser-controllers.md) — Provides an authenticated endpoint to programmatically manage and operate Chromium browser instances. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
- [URL Routing](https://awesome-repositories.com/f/web-development/url-routing.md) — Directs incoming network traffic to specific worker functions based on defined URL patterns. ([source](https://developers.cloudflare.com/workers/cli-wrangler/configuration))
