Skip to main content
Deno 2 is finally here 🎉️
Learn more

High-performance, minimalist web framework for Deno

Fastro

Deno License Release Coverage Status Performance

Fastro is a blazing-fast, type-safe, and zero-dependency web framework meticulously engineered for Deno. It is built for developers who demand peak performance without sacrificing a clean and intuitive developer experience.

🚀 Engineered for Speed

Achieve near-native Deno throughput. Powered by our latest pre-built middleware chains and unified cache fast-path, Fastro eliminates dispatch overhead, ensuring your application remains responsive under extreme load. (Benchmarks)

💎 Zero-Friction DX

Write clean, declarative code. Return JSON objects, strings, or native Responses directly from your handlers. No boilerplate, no complex abstractions—just pure productivity.

📦 Zero Dependency Core

A minimalist, rock-solid engine with absolutely no external dependencies. Keep your stack light, secure, and easy to maintain.

🏙️ Built to Scale

Easily manage complex architectures with automatic module loading and a modular design that grows with your application.

🛡️ Rock Solid Reliability

Deploy with absolute confidence. Fastro guarantees industrial-grade stability with 100% branch and line coverage across the entire project core.

⚡ Quick Start

import Fastro from "https://deno.land/x/fastro/mod.ts";

const app = new Fastro();

app.get("/user/:id", (req, ctx) => {
  return { id: ctx.params.id, status: "active" };
});

app.serve({ port: 8000 });

🛠️ Convenience tasks (via deno.json):

  • Start the app:
    deno task start
  • Run the local benchmark script (requires k6):
    deno task bench
  • Run the test suite:
    deno task test
  • Produce LCOV coverage:
    deno task cov

📚 Resources