Serverless at the edge
Deploy TypeScript/JavaScript functions globally. Built-in database access, environment variables, and real-time logs. Zero cold start.
// edge-function: hello-world
export default async function handler(req, ctx) {
const { name } = await req.json()
// Access environment variables
const apiKey = ctx.env.EXTERNAL_API_KEY
// Use built-in database
const user = await ctx.db
.from('users')
.select('*')
.where({ name })
.first()
return new Response(
JSON.stringify({
message: `Hello, ${user?.name || name}!`,
timestamp: Date.now()
}),
{ headers: { 'Content-Type': 'application/json' } }
)
}Functions that scale automatically
Write code, deploy, done. No infrastructure management. Auto-scaling from zero to millions of invocations.
TypeScript & JavaScript
Write functions in TypeScript or JavaScript. Full type safety, modern ES modules, and npm package support.
Global Edge Deployment
Functions deploy to edge locations worldwide. Sub-50ms response times for users everywhere.
CLI Deploy
Deploy with one command: zmesh functions deploy. Or push via the dashboard code editor.
Real-Time Logs
Stream function logs in real-time from the dashboard. Debug issues as they happen.
Environment Variables
Securely store secrets and config. Access them in your functions via ctx.env. Manage from dashboard or CLI.
Auto Scaling
Functions scale from zero to handle any load. Pay only for what you use. No provisioning required.
Write, deploy, scale
From code to global production in three steps. No infrastructure to manage.
Write your function
TypeScript or JavaScript with full type safety. Access database, env variables, and npm packages directly in your function.
Deploy with one command
Run zmesh functions deploy and your function is live on 3 edge regions worldwide in seconds. No build pipelines needed.
Auto-scale globally
Functions scale from zero to millions of invocations automatically. Sub-50ms response times, zero cold starts, pay only for usage.
Deploy in seconds, not hours
Write your function, run one command, and it's live globally. Real-time logs stream instantly to your terminal.
Real-time function observability
Monitor invocations, latency, error rates, and per-function performance in real-time. Animated charts update live as requests flow in.
Deploy your first function
Free tier includes 25 functions and 500K invocations/month.