tezz
Tezz Documentation

Deployment Guide

Deploying to Node.js (Default)

tezz build app.tezz --target node --output dist/server.js
node dist/server.js

Deploying to Cloudflare Workers

tezz deploy app.tezz --name my-super-fast-api

Why Target-Based Compilation?

Your source code never changes. If you target node, the codegen outputs http.createServer. If you target worker, it outputs an export default { fetch() } object.