Mage App

Mage is a web framework for Deno. No magic, no surprises—just routes, middleware, and HTTP handling with TypeScript type safety.

import { MageApp } from "@mage/app";

const app = new MageApp();

app.get("/", (c) => c.json({ message: "Hello" }));

Deno.serve(app.handler);

Why Mage?

  • TypeScript-native - Full type safety without configuration
  • Security by default - Path traversal protection, CSRF, rate limiting, security headers
  • Batteries included - Routing, middleware, validation, static files
  • Fast cold starts - Optimized for serverless (Deno Deploy, Cloudflare Workers, AWS Lambda)

Next Steps

Project Status

Mage is under active development. The core API is stable, but expect changes as we refine based on real-world usage. We follow semantic versioning.

Contribute at github.com/deno-mage/app.