Cloudflare Workers
Deploy to the edge with Cloudflare Workers. Full support for Service Bindings, KV, Durable Objects, and Cache API.
Stoma runs on any JavaScript runtime. Choose your deployment target below.
Cloudflare Workers
Deploy to the edge with Cloudflare Workers. Full support for Service Bindings, KV, Durable Objects, and Cache API.
Node.js
Traditional Node.js deployment with Express, Fastify, or standalone HTTP servers.
Docker
Containerize your gateway with Docker. Includes Alpine and multi-stage build examples.
Bun
Ultra-fast deployment with Bun’s built-in server.
| Runtime | Adapter | Storage | Best For |
|---|---|---|---|
| Cloudflare Workers | cloudflareAdapter | KV, Durable Objects | Edge-first, global latency |
| Node.js | nodeAdapter | In-memory / Redis | Traditional servers |
| Docker | memoryAdapter | In-memory / Redis | Containers, Kubernetes |
| Bun | bunAdapter | In-memory | Fast servers, Serverless |
Choose edge deployment when you need:
Choose containers when you need:
Choose server deployment when you need: