Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

โšกFastro Framework

build Coverage Status

Fastro

High-Performance Web Framework for Deno

Fastro is the bridge between raw Deno performance and elite developer experience. Build secure, scalable APIs with zero boilerplate and maximum throughput.

๐Ÿš€ Key Features

  • ๐Ÿ’จ Near-Native: Reaches or exceeds raw Deno performance (~68k+ req/s).
  • โœจ Zero-Boilerplate: Return string, JSON, or Response directly.
  • ๐Ÿ›ก๏ธ Lean: Zero external dependencies, built on Deno standards.
  • ๐Ÿ—๏ธ Scaling: Directory-based module loading for large-scale apps.
  • ๐Ÿ’Ž Solid: 100% test coverage and deep TypeScript integration.

๐Ÿ› ๏ธ Quick Start

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

const app = new Fastro();

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

// Powerful middleware
app.use((req, ctx, next) => {
  console.log(`${req.method} ${ctx.url.pathname}`);
  return next();
});

await app.serve({ port: 8000 });

๐Ÿ“Š Performance

Metric Native Deno Fastro
Requests/s ~63,000+ ~68,000+
Latency ~1.49 ms ~1.36 ms